15 September 2009 at 3:12pm
I've been trackign the fourms for a while to se ehow progress is going on this... But it still seems imposisble. These days our customers just assume they can embed you tube and other widgets int he site as they would with any other blogging tool.
If I cut off the wysiwyg editor, it works fine but then it's really hard for non-technical people to add images and edit articles.
Is there an answe? I hope I haven't missed it! I've look all over the forums and documentation!
15 September 2009 at 6:40pm
You could introduce some special syntax for youtube videos. For example [y=Yu_moia-oVI] would embed the video with that ID. Of course you need to parse that string and replace it with the actual embed codes. Here's a basic example how this could be done: http://doc.silverstripe.com/doku.php?id=recipes:customising-content-in-your-templates