PHPackages                             weboftalent/silverstripe-shortcode-youtube - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. weboftalent/silverstripe-shortcode-youtube

ActiveSilverstripe-module[Utility &amp; Helpers](/categories/utility)

weboftalent/silverstripe-shortcode-youtube
==========================================

Adds a shortcode for embedding YouTube video. For Silverstripe

4.0.2(6y ago)01.2k2MITPHPPHP &gt;=5.6

Since Nov 11Pushed 6y ago2 watchersCompare

[ Source](https://github.com/gordonbanderson/weboftalent-youtube)[ Packagist](https://packagist.org/packages/weboftalent/silverstripe-shortcode-youtube)[ RSS](/packages/weboftalent-silverstripe-shortcode-youtube/feed)WikiDiscussions 3.1 Synced today

READMEChangelogDependencies (1)Versions (11)Used By (0)

\#YouTube ShortCode Handler [![Build Status](https://camo.githubusercontent.com/7d6ddd357fc43c01b3e63dfd02ecf39a320b1cddd06dc1b61ca276fc6b8ddf49/68747470733a2f2f7472617669732d63692e6f72672f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d796f75747562652e7376673f6272616e63683d332e31)](https://travis-ci.org/gordonbanderson/weboftalent-youtube)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/af88396b24751c8520a7ffbfc30483cd6302e50ac3fb542edf46cc798784cd72/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d796f75747562652f6261646765732f7175616c6974792d73636f72652e706e673f623d332e31)](https://scrutinizer-ci.com/g/gordonbanderson/weboftalent-youtube/?branch=3.1)[![Code Coverage](https://camo.githubusercontent.com/9132634ee91f8a766ec3b8931dbe28dc439be9e6710a65fdecdcc0a359e21d15/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d796f75747562652f6261646765732f636f7665726167652e706e673f623d332e31)](https://scrutinizer-ci.com/g/gordonbanderson/weboftalent-youtube/?branch=3.1)[![Build Status](https://camo.githubusercontent.com/3d1737d659e994b0e5f302e6002d47d8940470e4cb826aadeee6f0a3e21c6f8e/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d796f75747562652f6261646765732f6275696c642e706e673f623d332e31)](https://scrutinizer-ci.com/g/gordonbanderson/weboftalent-youtube/build-status/3.1)[![codecov.io](https://camo.githubusercontent.com/ca9bc6cb9b92b0f7b62e8a212634383aede1c9405c6bb480ca03ba902bf85481/68747470733a2f2f636f6465636f762e696f2f6769746875622f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d796f75747562652f636f7665726167652e7376673f6272616e63683d332e31)](https://codecov.io/github/gordonbanderson/weboftalent-youtube?branch=3.1)

[![Latest Stable Version](https://camo.githubusercontent.com/176eed202ac3c5833b3f4fd11f380646ba4049aa5ee06d678cbb21b7b25f8ad8/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f73696c7665727374726970652d73686f7274636f64652d796f75747562652f76657273696f6e)](https://packagist.org/packages/weboftalent/silverstripe-shortcode-youtube)[![Latest Unstable Version](https://camo.githubusercontent.com/00f78ca8e19d9ff9e0202fa0727a832f0b1b448d55846d9253638083798382ab/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f73696c7665727374726970652d73686f7274636f64652d796f75747562652f762f756e737461626c65)](//packagist.org/packages/weboftalent/silverstripe-shortcode-youtube)[![Total Downloads](https://camo.githubusercontent.com/2c835590e3ae42edc0285c0f0b74aae676b4f61c74ff21ccbe158c1c4eeb80b7/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f73696c7665727374726970652d73686f7274636f64652d796f75747562652f646f776e6c6f616473)](https://packagist.org/packages/weboftalent/silverstripe-shortcode-youtube)[![License](https://camo.githubusercontent.com/0bde43cdfc41460c3f4f57501b4829194cca8893d2c4fb23e58d0f2e9d2053e4/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f73696c7665727374726970652d73686f7274636f64652d796f75747562652f6c6963656e7365)](https://packagist.org/packages/weboftalent/silverstripe-shortcode-youtube)[![Monthly Downloads](https://camo.githubusercontent.com/70a01bf4aae081e5664abba94d1879b98b32e1fc9e475984361d7c553ca067d5/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f73696c7665727374726970652d73686f7274636f64652d796f75747562652f642f6d6f6e74686c79)](https://packagist.org/packages/weboftalent/silverstripe-shortcode-youtube)[![Daily Downloads](https://camo.githubusercontent.com/c5746ebefe148624c38ac2bea34f51683455e932157b00cf8b9a5f822195dd1b/68747470733a2f2f706f7365722e707567782e6f72672f7765626f6674616c656e742f73696c7665727374726970652d73686f7274636f64652d796f75747562652f642f6461696c79)](https://packagist.org/packages/weboftalent/silverstripe-shortcode-youtube)

[![Dependency Status](https://camo.githubusercontent.com/10f1597053e2c7f07701e58250ef11922ed78a29dfa8db23bc30d743c13ee91f/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f7765626f6674616c656e743a73696c7665727374726970652d73686f7274636f64652d796f75747562652f62616467652e737667)](https://www.versioneye.com/php/weboftalent:silverstripe-shortcode-youtube)[![Reference Status](https://camo.githubusercontent.com/72b8fd63049cde064bb355e715b61ca75648fb828ddf005ac7d41bf2a162f3bc/68747470733a2f2f7777772e76657273696f6e6579652e636f6d2f7068702f7765626f6674616c656e743a73696c7665727374726970652d73686f7274636f64652d796f75747562652f7265666572656e63655f62616467652e7376673f7374796c653d666c6174)](https://www.versioneye.com/php/weboftalent:silverstripe-shortcode-youtube/references)

[![codecov.io](https://camo.githubusercontent.com/38458268042d5b42d7895e604a4f7e94dfc806fe1cec7171b40a8024f73919ca/68747470733a2f2f636f6465636f762e696f2f6769746875622f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d796f75747562652f6272616e63682e7376673f6272616e63683d332e31)](https://camo.githubusercontent.com/38458268042d5b42d7895e604a4f7e94dfc806fe1cec7171b40a8024f73919ca/68747470733a2f2f636f6465636f762e696f2f6769746875622f676f72646f6e62616e646572736f6e2f7765626f6674616c656e742d796f75747562652f6272616e63682e7376673f6272616e63683d332e31)This module allows YouTube videos to be entered as short codes. It is based on the SSBits tutorial and adpated to work with Silverstripe 3.

\##Functionality Videos can be entered into a page using the YouTube code (the v parameter in a YouTube URL).

```
[YouTube id='_yY3Gu8HbzE']

```

The following parameters are also permitted:

- *autoplay* - set this value to anything, e.g. 1 or true, to enable autoplay on the embedded video

- *caption* - Text to display after an embedded video. This can either be passed as an attribute or as follows `[YouTube id='_yY3Gu8HbzE']This is the caption[/YouTube]`
- *height* - set the height of the video
- *width* - set the width of the video

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 96.9% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~362 days

Recently: every ~346 days

Total

7

Last Release

2394d ago

Major Versions

1.0.1 → 3.2.x-dev2016-01-04

3.1.x-dev → 4.0.02019-06-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/9af58f7ff675f65dbd2f20d39d8b80ed671eb0fe376eb978e497934c175196fe?d=identicon)[weboftalent](/maintainers/weboftalent)

---

Top Contributors

[![gordonbanderson](https://avatars.githubusercontent.com/u/7060?v=4)](https://github.com/gordonbanderson "gordonbanderson (93 commits)")[![MichaelJJames](https://avatars.githubusercontent.com/u/6860174?v=4)](https://github.com/MichaelJJames "MichaelJJames (2 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

silverstripeyoutubeshortcode

### Embed Badge

![Health badge](/badges/weboftalent-silverstripe-shortcode-youtube/health.svg)

```
[![Health](https://phpackages.com/badges/weboftalent-silverstripe-shortcode-youtube/health.svg)](https://phpackages.com/packages/weboftalent-silverstripe-shortcode-youtube)
```

###  Alternatives

[sheadawson/silverstripe-shortcodable

Provides a GUI for CMS users to insert Shortcodes into the HTMLEditorField + an API for developers to define Shortcodable DataObjects and Views

5018.1k5](/packages/sheadawson-silverstripe-shortcodable)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
