1770 Posts in 495 Topics by 531 members
Blog Module
SilverStripe Forums » Blog Module » Embed YouTube videos
Discuss the Blog Module.
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba, simon_w
| Go to End | Next > | |
| Author | Topic: | 4194 Views |
-
Re: Embed YouTube videos

10 July 2009 at 12:00am Last edited: 10 July 2009 12:56am
You could change Content field typ to "HTMLTextField" and post it from the CMS (use the HTML Editor)!
-
Re: Embed YouTube videos

11 July 2009 at 4:00am Last edited: 11 July 2009 4:07am
Hello everyone,
is it possible to use the HTMLTextField in a DataObject, somehow? I would like to use DataObjects instead of Pages in every subcategory. But I haven't found a way to embed youtube videos there, yet.
Any ideas for a solution?
Cheers
jovoo -
Re: Embed YouTube videos

25 October 2009 at 5:41am
I would love some help with this as well. I tried changing the Content class to HTMLEditorField which seemed to work fine in CMS however when displayed on the website all the HTML was displayed as text. i.e. - <p>'s and youtube embedding code was displayed as normal text... Learning a lot as I work through this, any help is greatly appreciated!
Thanks!
-
Re: Embed YouTube videos

28 October 2009 at 11:27am Last edited: 28 October 2009 11:30am
I have the following in the /mysite/_config.php file which disables bbcode and utilises TinyMCE instead:
BlogEntry::allow_wysiwyg_editing();
which allows Youtube entries, as seen here: http://crew.org.nz
-
Re: Embed YouTube videos

28 October 2009 at 3:36pm
BlogEntry::allow_wysiwyg_editing();
...I'm afraid I don't know what this does.. I included it in _config.php and nothing appears to have changed...
-
Re: Embed YouTube videos

1 November 2009 at 3:45am
Wondering if anyone else has some idea as to what might be the problem?
| 4194 Views | ||
| Go to Top | Next > |





