2017 © Pedro Peláez
 

silverstripe-module silverstripe-shortcode-youtube

Adds a shortcode for embedding YouTube video. For Silverstripe

image

weboftalent/silverstripe-shortcode-youtube

Adds a shortcode for embedding YouTube video. For Silverstripe

  • Tuesday, January 19, 2016
  • by weboftalent
  • Repository
  • 2 Watchers
  • 0 Stars
  • 351 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 2 Forks
  • 0 Open issues
  • 7 Versions
  • 5 % Grown

The README.md

YouTube ShortCode Handler

Build Status Scrutinizer Code Quality Code Coverage Build Status codecov.io, (*1)

Latest Stable Version Latest Unstable Version Total Downloads License Monthly Downloads Daily Downloads, (*2)

Dependency Status Reference Status, (*3)

codecov.io, (*4)

This module allows YouTube videos to be entered as short codes. It is based on the now defunct SSBits tutorial http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/ and adpated to work with Silverstripe 4., (*5)

Functionality

Videos can be entered into a page using the YouTube code (the v parameter in a YouTube URL)., (*6)

[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, (*7)

These are optional. If not provided the whole video is played. - start - set the start of the video in seconds - end - set the end of the video in seconds, (*8)

The Versions

19/01 2016

dev-master

9999999-dev

Adds a shortcode for embedding YouTube video. For Silverstripe

  Sources   Download

MIT

The Requires

 

silverstripe youtube shortcode

10/01 2016

3.1.x-dev

3.1.9999999.9999999-dev

Adds a shortcode for embedding YouTube video. For Silverstripe

  Sources   Download

MIT

The Requires

 

silverstripe youtube shortcode

04/01 2016

3.2.x-dev

3.2.9999999.9999999-dev

Adds a shortcode for embedding YouTube video. For Silverstripe

  Sources   Download

MIT

The Requires

 

silverstripe youtube shortcode

30/12 2015

dev-AUTOMATED_TESTING

dev-AUTOMATED_TESTING

Adds a shortcode for embedding YouTube video. For Silverstripe

  Sources   Download

MIT

The Requires

 

silverstripe youtube shortcode

15/12 2015

dev-scrutinizer-patch-1

dev-scrutinizer-patch-1

Adds a shortcode for embedding YouTube video. For Silverstripe

  Sources   Download

MIT

The Requires

 

silverstripe youtube shortcode

11/11 2013

1.0.1

1.0.1.0

Adds a shortcode for embedding YouTube video. For Silverstripe

  Sources   Download

The Requires

 

silverstripe youtube shortcode

11/11 2013

1.0.0

1.0.0.0

Adds a shortcode for embedding YouTube video. For Silverstripe

  Sources   Download

The Requires

 

silverstripe youtube shortcode