first of all, sorry for my bad english!!
But I will try to explain my problem.
I'm trying to make a bbcode for my forum. With this bbcode it should be possible to stream a short avi file to the clients.
But there are some problems. In Firefox the stream looks very fine. But when I try to control the stream/player (Play, Stop, Pause) the whole page will be reloaded.
With Opera nothing is shown!!! Only a black box and no pics for control!!
Well, I'm not a programmer, but I want this bbcode get working in my forum!!!
The bbcode looks like:
Code: Select all
[SAMPLE]NAME_OF_FILE.avi[/SAMPLE]
Code: Select all
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
version="VideoLAN.VLCPlugin.2" width="624" height="256" id="vlc">
</embed>
<script language="Javascript">
<!--
var vlc=document.getElementById("vlc");
var id=vlc.playlist.add("http://URL_TO_AVI_FILES/{param}");
vlc.playlist.playItem(id);
</script>
</br>
<br>
<a href="#" onclick='vlc.playlist.play()'><img src="http://URL_TO_PICS/play.png" border="0" ></a>
<a href="#" onclick='vlc.playlist.togglePause()'><img src="http://URL_TO_PICS/pause.png" border="0" ></a>
<a href="#" onclick='vlc.playlist.stop()'><img src="http://URL_TO_PICS/stop.png" border="0" ></a>
<a href="#" onclick='vlc.video.toggleFullscreen()'><img src="http://URL_TO_PICS/full.png" border="0" ></a>
Thank you very much!!
Greetz
Pikeman