<embed type="application/x-vlc-plugin"
name="video1"
autoplay="no" loop="yes" width="400" height="300"
target="http://xxx.com/xxx.php?action=dl&permalink=<? echo $permalink; ?>" />
<br />
<a href="javascript:;" onclick='document.video1.play()'>Play video1</a>
<a href="javascript:;" onclick='document.video1.pause()'>Pause video1</a>
<a href="javascript:;" onclick='document.video1.stop()'>Stop video1</a>
<a href="javascript:;" onclick='document.video1.fullscreen()'>Fullscreen</a>
The script grabs an mp4 file from the server by the request of the permalink, what I was wondering, why won't this code work?
I get <No Video> in Firefox, and nothing happens when I hit play.