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.

General Questions /

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

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

Shortcodes and Youtube Videos


Reply


2 Posts   350 Views

Avatar
Bagzli

Community Member, 37 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, 149 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/