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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   822 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/