Page 1 of 1

[Solved]vlc.playlist is undefined?

Posted: 30 Mar 2010 07:12
by djstava
Hi,all

I compiled vlc and plugins from git source,with
./configure --enable-faad --enable-run-as-root --enable-realrtsp --enable-mozilla --enable-live555 --with-live555-tree=/home/djstava/live --enable-lirc --enable-lua

Code: Select all

<html> <head><title>Demo of VLC mozilla plugin</title></head> <body> <h1 align="center">Demo of Firefox VLC Plugin</h1> <embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2" width="1024" height="800" border="0" id="vlc"> </embed> <script language="Javascript"> var vlc=document.getElementById("vlc"); var id=vlc.playlist.add("rtsp://127.0.0.1:8554/demo1.ts"); vlc.playlist.playItem(id);
but error console shows: vlc.playlist is undefined.Firefox 3.5.8

Help.
djstava

Re: vlc.playlist is undefined?

Posted: 30 Mar 2010 10:47
by djstava
vlc cannot see the ffmpeg libs
export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
sudo ldconfig