[opencms-dev] R: Embedded video
Rita Risso
rita.risso at castagna.it
Mon Sep 8 12:18:08 CEST 2008
Thanks a lot. Now everything is working fine.
Rita
_____
Da: Francesco Badagliacco [mailto:francesco.badagliacco at eng.it]
Inviato: venerdì 5 settembre 2008 18.20
A: opencms-dev at opencms.org
Cc: rita.risso at castagna.it
Oggetto: [opencms-dev] Embedded video
Hello list,
to create a page with a video inside of it, you have to:
* include in the xsd file a simple xsd element (Video) of type
openCmsString that contains the URL of the video.
for example: Video: http://yourwebserver/yourvideo.mov
* include thecode to embed the video in the template .jsp,
For example (in case of a .mov file):
<!--[if !IE]>-->
<object type="video/quicktime" data="<cms:contentshow
element="Video"/>" width="400" height="300">
<param name="autoplay" value="false" />
<param name="autoStart" value="0" />
<param name="loop" value="false" />
<param name="controller" value="true" />
<!--<![endif]-->
<object
classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" width="400"
height="300" codebase="http://www.apple.com/qtactivex/qtplugin.cab"> >
<param name="src" value="<cms:contentshow
element="Video"/>" />
<param name="autoplay" value="false" />
<param name="controller" value="true" />
<param name="loop" value="false" />
<param name="scale" value="tofit" />
</object>
<!--[if !IE]>-->
</object>
<!--<![endif]-->
Bye bye,
Francesco.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://webmail.opencms.org/pipermail/opencms-dev/attachments/20080908/f86d67e5/attachment.htm>
More information about the opencms-dev
mailing list