[opencms-dev] Bug? <object>-tag is getting altered by OpenCMS
Corsin Camichel
cocaman at gmail.com
Fri Oct 21 12:01:00 CEST 2005
Hi List
I today found something wierd today in opencms. The page required to
display a quicktime movie as content. So I added this code in my page
(normal page, based on a template):
[code]
<object CLASSID="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B"
width="240" height="210"
CODEBASE="http://www.apple.com/qtactivex/qtplugin.cab">
<param name="src"
value="/system/modules/com.laax.web/elements/mov/tom-sorenson3.mov">
<param name="qtsrc"
value="http://www.laax.com/system/modules/com.laax.web/elements/mov/tom-sorenson3.mov">
<param name="autoplay" value="true">
<param name="loop" value="false">
<param name="controller" value="true">
<embed src="sample.mov"
qtsrc="/system/modules/com.laax.web/elements/mov/tom-sorenson3.mov"
width="240" height="210" autoplay="true" loop="false"
controller="true"
pluginspage="http://www.apple.com/quicktime/"></embed>
</object>
[/code]
The video plays perfectly on the site.
After saving and open it again (to change text in the page) my
<object>-tag looked like this:
[code]
<OBJECT codeBase=http://www.apple.com/qtactivex/qtplugin.cab height=210
width=240 classid=clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B>
<embed src="sample.mov"
qtsrc="/system/modules/com.laax.web/elements/mov/tom-sorenson3.mov"
width="240" height="210" autoplay="true" loop="false"
controller="true"
pluginspage="http://www.apple.com/quicktime/"></embed>
</OBJECT>
[/code]
Saving and viewing the page gives me an error that the video can not be played.
The problem I see is, that opencms/htmlarea adds all my <param name=""
value="">-tags to the <embed>-tag and neither IE nor Firefox han play
the video anymore.
Now my question, is this a bug or something else?
Regards
Corsin
--
Corsin Camichel
cocaman at gmail.com
More information about the opencms-dev
mailing list