4424 Posts in 1267 Topics by 945 members
Customising the CMS
SilverStripe Forums » Customising the CMS » Embedding Quicktime with TinyMCE in SiStri 2.3.2
Moderators: martimiz, Howard, Sean, Ryan M., biapar, Willr, Ingo, swaiba
|
Page:
1
|
Go to End | |
| Author | Topic: | 1472 Views |
-
Embedding Quicktime with TinyMCE in SiStri 2.3.2

14 July 2009 at 7:20am
Hi there,
after searching and fiddeling for a quite some time I found how to add a media-upload-button to TinyMCE in SiStri 2.3.2.
I added these lines to /mysite/_config.php
HtmlEditorConfig::get('cms')->enablePlugins('../jsparty/tiny_mce2/plugins/media'); // enables plugin
HtmlEditorConfig::get('cms')->insertButtonsAfter('charmap', 'media'); // positions plugin
and, yay, I have a media-Button ow and can insert Flash, Quicktime, Shockwave etc. exactly like the dropdown options with the Flash-Button in TinyMCE...But, like with any Object added with the Flash button, on "savin and publishing" the page it always changes the type of the embedded media back to Flash. It seems correct in the backend directly after saving but when I go to another page and back to that page (i.e. refreshing the page) it is set back to Flash...
How in three devils name can I embedd and and "manage" something other then Flash, Quicktime, with SiStri and TinyMCE?
Please help /Carsten
-
Re: Embedding Quicktime with TinyMCE in SiStri 2.3.2

20 November 2009 at 8:04am Last edited: 20 November 2009 8:06am
I don't know if you've been able to solve this yet, if you have please share.
I have partially fixed this issue, i.e. I can embed quicktime, windows media, etc. and have it show up correctly on the front end, however, in the backend still shows up as flash if you navigate away and then back.
To get the media to show up correctly on the front end add the following code to LeftAndMain.php:
embed[quality|type|pluginspage|width|height|name|src|align],
I added that block of code on line 176 in front of the map[... entry. Now I know its core code, but it works for now. Maybe I should submit a ticket?
I'm looking into getting tinyMCE to stop changing that, if I find anything I'll post it here.
EDIT: oh I'm using version 2.3.3
| 1472 Views | ||
|
Page:
1
|
Go to Top |


