This is a test case:
Code: Select all
<html>
<head>
<script type="text/javascript">
function play() {
var vlc = document.getElementById('vlc');
vlc.style.display = "block";
setTimeout(function () {
vlc.clear_playlist();
vlc.add_item('file:///X:/toby/bbc1.ts');
vlc.play();
}, 0);
}
function seek() {
var vlc = document.getElementById('vlc');
vlc.seek(30, false);
}
</script>
</head>
<body>
<a href="javascript:play();">play</a><br/>
<a href="javascript:seek();">forward</a>
<br/><br/>
<embed type="application/x-vlc-plugin" width="400"
height="300" flex="1" id="vlc"
style="display: none"/>
</body>
</html>
This is in firefox on Windows XP.
Any suggestions? Thanks.