[vlc] mozilla plugin & javascript problems
harisson
h.harisson at gmail.com
Sun Apr 23 18:51:21 CEST 2006
Hello,
I have some troubles with the mozilla-vlc plugin and javascript functions :
The javascript console says sometimes "document.flux.play is not a
function" or "document.flux.stop is not a function" (below the sample code)
To avoid these errors, i have to clear the browser cache 3/4 times and
make about:plugins.
These bugs/errors appear with all mozilla browsers
suite/seamonkey/firefox on both win/linux using vlc 0.8.5-*
Where does this strange behaviour of these vlc javascript functions come
from ? And is there a way to fix this in the html/javascript code ?
[...]
} else { //vlc mozilla plugin
document.writeln('<embed type="application/x-vlc-plugin"
name="flux" autoplay="no" loop="yes" width="400" height="336"
target="<%= url %>" /> \
<p><a href="#"
onclick="javascript:document.flux.play();return false">Play flux</a> \
|| <a href="#"
onclick="javascript:document.flux.stop();return false">Stop flux</a></p>');
}
[...]
best regards. harisson
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list