Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Shortcodes and Youtube Videos


Go to End


2 Posts   609 Views

Avatar
Bagzli

Community Member, 71 Posts

25 May 2014 at 4:44am

Hey guys,

I've been researching this quite a lot and any solution that I have found online does not works. I have thoroughly read the guide here and I don't quite understand which files I need to modify to make any of this work. http://doc.silverstripe.org/framework/en/reference/shortcodes

I am wondering if you can tell me how can I embed a youtube video into my editor. How do I create a short code that will allow me to do that.

Avatar
Pix

Community Member, 158 Posts

9 June 2014 at 7:15pm

There's an excellent tutorial that does just that here:

http://www.ssbits.com/tutorials/2010/2-4-using-short-codes-to-embed-a-youtube-video/