I've just started using the mozilla-plugin for a new online streaming service and I've run in to some bugs with the latest version of VLC:
Full screen is still not working:
Code: Select all
function _fullscreen(){
var vlc = document.vlc;
alert("Hit F to exit fullscreen");
vlc.video.toggleFullscreen();
}
Code: Select all
function _setTime(seconds){
var vlc = document.vlc;
var new_time = (seconds * 1000);
vlc.input.time = new_time;
}
On the brighter side, these are the functions I have got to work (code can be posted on request):
- Live time in 00:00:00 format using innerHTML.
- Pause/Play (simple )
- Fast forward with input speed: _fastForward(10);
- Rewind with input speed: _rewind(10);
- Mute with toggle text: Mute/Muted
You help me, I help you? Keep up the good work, VideoLAN
//2rsvold