determine if VLC stops receiving video
Posted: 19 Jan 2006 10:02
Is there anyway to determine if the VLC activex stops receiving video?
Discussion and support for VLC media player and friends
http://forum.videolan.org/
Code: Select all
function doPoll()
{
if( vlc.Playing )
{
// stream is still playing, call ourself again in 1 second
sliderTimerId = setTimeout("doPoll()", 1000);
}
else
{
// stream is no longer playing;
alert("VLC has stopped");
}
};
function onPlay()
{
// initiate regular polling
setTimeout("doPoll()", 1000)
}