Firefox Stream: playlist is undefined
Posted: 14 May 2010 13:54
for monitoring a network camera I'm using firefox 3.6.3 and the vlc mozilla plugin (VLC Multimedia Plug-in 1.0.5.0) on a win7 64bit pc. This setting worked for some time. But some days ago I got the following message in firefox error console and there is no viewing in firefox anymore.
I reinstalled Firefox and VLC but its still not working.
Using the same camera and URL its working in vlc (network stream).
The same code is working on an other pc (same Firefox and VLC version) but winxp
I've no idea what else to check for a solution - any ideas?
Carlos
Code: Select all
Fehler: vlc1.playlist is undefined
Quelldatei: file:///C:/Users/carlos/Desktop/cam.html
Zeile: 18
Using the same camera and URL its working in vlc (network stream).
The same code is working on an other pc (same Firefox and VLC version) but winxp
Code: Select all
<span>cam1</span><br>
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org"
version="VideoLAN.VLCPlugin.2" width="560" height="420" id="vlc1">
</embed>
<script language="Javascript">
var vlc1=document.getElementById("vlc1");
var id1=vlc1.playlist.add("rtsp://192.168.1.52/live.sdp");
vlc1.playlist.playItem(id1);
</script>
Carlos