Firefox Stream: playlist is undefined

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
carlos10179
New Cone
New Cone
Posts: 1
Joined: 14 May 2010 13:36

Firefox Stream: playlist is undefined

Postby carlos10179 » 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.

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

federico.perotto
New Cone
New Cone
Posts: 6
Joined: 14 May 2010 17:11

Re: Firefox Stream: playlist is undefined

Postby federico.perotto » 17 May 2010 10:16

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

djstava
Blank Cone
Blank Cone
Posts: 70
Joined: 17 Dec 2009 05:17

Re: Firefox Stream: playlist is undefined

Postby djstava » 18 May 2010 03:14

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.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 2 guests