Page 1 of 1

Can't add a xspf file to the plugin's playlist

Posted: 08 Jun 2010 18:57
by VSB
Can the plugin load xspf files?
here's the javascript code I'm using to add a xspf file (a playlist) to the plugin's playlist.

Code: Select all

playlist="D:\playlists\playlist1.xspf"; vlc.playlist.items.clear; var id = vlc.playlist.add(playlist); vlc.playlist.playItem(id);
it works with regular movie files, but not with xspf.
the path is a local path because i want to load the file locally, not from a web server
the xspf file is ok, it loads with vlc.exe
if it matters: OS - Windows, browser - Google Chrome
i would appreciate any suggestions. thanks