Hi,
Does someone know what are the new properties and methods in the new Mozilla Plugin 0.8.6 ?
Thanks in advance.
Antoine
Code: Select all
<embed type="application/x-vlc-plugin"
pluginspage="http://www.videolan.org/"
version="VideoLAN.VLCPlugin.2"
name="player"
autoplay="no"
loop="no"
width="640"
height="480"
target=""
id="vlc"
/>
Code: Select all
document.player.playlist.play()
Code: Select all
document.player.playlist.pause()
Code: Select all
document.player.playlist.stop()
Code: Select all
document.player.playlist.fullscreen()
Code: Select all
document.player.audio.toggleMute()
Code: Select all
function volume_up(){
var previous = document.player.audio.volume;
var newvolume = previous + 10;
if( newvolume > 200 ) newvolume = 200;
document.player.audio.volume = newvolume;
}
Code: Select all
function volume_down(){
var previous = document.player.audio.volume;
var newvolume = previous - 10;
if( newvolume < 0 ) newvolume = 0;
document.player.audio.volume = newvolume;
}
Code: Select all
function change_pll(url){
document.player.playlist.clear();
document.player.playlist.add(url,null,null);
document.player.playlist.play();
}
Users browsing this forum: No registered users and 47 guests