TinyPortal
Development => Support => Topic started by: mythbuster on February 23, 2007, 12:53:48 PM
Can anyone give me the correct code to embed a .mov into an article?
i can embed .wmv's just fine but i cant get .mov's to work.
im making a video gallery using seperate articles for each video, but i cant get the .mov's to work.
ty
Take a look here it gives you everything to due it....
http://www.webaim.org/techniques/captions/quicktime/web.php
One issue that came up for me is the path to your file, in all the formats that I've used so far (Real, WMV & Q-Time) it works better if you use the full path, no matter where you store the vid file. It will not play at all in some cases without the full path.
EDIT: here's one that I use in both articles and posts, it works good... you just need to edit the links to your location and play with the size to get it the same as your vid.
And remove the html tag if you use it in a regular HTML article
[html]
<i>... it may take 25-30 secs for file to load
<!-- begin embedded RealMedia file... -->
<table border='0' cellpadding='0' align="center">
<!-- begin video window... -->
<tr><td>
<OBJECT id='rvocx' classid='clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA'
width="520" height="340">
<param name='src' value="http://www.my_vid.wmv">
<param name='autostart' value="true">
<param name='controls' value='imagewindow'>
<param name='console' value='video'>
<param name='loop' value="true">
<EMBED src="http://www.my_vid.wmv" width="520" height="340"
loop="true" type='audio/x-pn-realaudio-plugin' controls='imagewindow' console='video' autostart="true">
</EMBED>
</OBJECT>
</td></tr>
<!-- ...end video window -->
<!-- ...end embedded RealMedia file -->
</td></tr>
</table> [/html]