Code: Select all
<div id="video">
<object classid="clsid:9BE31822-FDAD-461B-AD51-BE1D1C159921"
codebase="./"
width="500"
height="370"
id="vlc"
events="True">
<param name="MRL" value="udp://@239.226.16.5:30120" />
<param name="ShowDisplay" value="True" />
<param name="AutoLoop" value="False" />
<param name="AutoPlay" value="False" />
<param name="Volume" value="80" />
<param name="StartTime" value="0" />
<embed pluginspage="http://www.videolan.org/mirror-geo.php?file=vlc/1.0.5/win32/vlc-1.0.5-win32.exe"
version="VideoLAN.VLCPlugin.2"
type="application/x-vlc-plugin"
width="500"
height="370"
name="vlc"
class="player"
id="vlcplayer"
>
</embed>
</object>
</div>
Code: Select all
function resize(height, width) {
document.getElementById("vlcplayer").setAttribute("width", width);
document.getElementById("vlcplayer").setAttribute("height", height);
}
Code: Select all
vlc.playlist.stop();
What are you trying to do?used version 1.1.2 and have problems clear the playlist.
I use vlc.playlist.add and then vlc.playlist.play. If I stop and do vlc.playlist.clear the playlistcount is 0 but if I add a new playlistitem and start vlc.playlist.play it plays the file I used at the first time.
have anyone an idea how can i solve this problem?
I have this problem from version 0.9x to now
try doing a loop after clearing instead of just checking if the count is 0. like this:I used version 1.1.2 and have problems clear the playlist.
I use vlc.playlist.add and then vlc.playlist.play. If I stop and do vlc.playlist.clear the playlistcount is 0 but if I add a new playlistitem and start vlc.playlist.play it plays the file I used at the first time.
have anyone an idea how can i solve this problem?
I have this problem from version 0.9x to now
Users browsing this forum: No registered users and 6 guests