First, I'm sorry but I'm not very good in english.
I create web pages for play videos and I've a problem with IE
I use this script:
Code: Select all
<object id="vlc" width="300" classid="clsid:E23FE9C6-778E-49D4-B537-38FCDE4887D8" codebase="http://downloads.videolan.org/pub/videolan/vlc/latest/win32/axvlc.cab" type="application/x-vlc-plugin">
<param name="filename" value="my_video"/>
<param name="autostart" value="1"/>
<param name="autoplay" value="true"/>
<param name="showcontrols" value="1">
<embed type="application/x-vlc-plugin" src="my_video" width="300" autoplay="true" autostart="1" showcontrols="1"/>
</object>
I 've a second problem:
I would like to can play differently videos with the player. I 've write a javascript function:
Code: Select all
function play(filename)
{
vlc.url = filename;
}
Code: Select all
<a href="#" onclick="play('my_video')">Video 1</a>
<a href="#" onclick="play('my_video2')">Video 2</a>
But if I use vlc in my object, video don't playing.
I think that it's a problem with the javascript code but I don't know that I must change.
Can you help me please?
PS: If it's more easy for you to answer in french, don't hesitate, I'm french ^^.