Page 1 of 1

Firefox Stream: playlist is undefined

Posted: 14 May 2010 13:54
by carlos10179
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.

Code: Select all

Fehler: vlc1.playlist is undefined Quelldatei: file:///C:/Users/carlos/Desktop/cam.html Zeile: 18
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

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>
I've no idea what else to check for a solution - any ideas?

Carlos

Re: Firefox Stream: playlist is undefined

Posted: 17 May 2010 10:16
by federico.perotto
I also experienced the problem of undefined playlist.
I cannot tell why it happens, I am confused, but it seems (also) related to hardware in some way.

Now I have some code working on firefox, it creates the vlc plugin via javascript.
You can find it in this topic.
Good luck

Federico

Re: Firefox Stream: playlist is undefined

Posted: 18 May 2010 03:14
by djstava
vlc cannot see the ffmpeg libs,you can do it on linux platform with command

Code: Select all

export LD_LIBRARY_PATH=/YourVLCLibPath:$LD_LIBRARY_PATH ldconfig
but I've no idea about windows,sorry.