About the new Mozilla Plugin in VLC 0.8.6 test 1

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Athlon2x
Blank Cone
Blank Cone
Posts: 22
Joined: 22 Oct 2005 16:20
Location: Telecom Lille, France

About the new Mozilla Plugin in VLC 0.8.6 test 1

Postby Athlon2x » 27 Oct 2006 11:34

Hi,

Does someone know what are the new properties and methods in the new Mozilla Plugin 0.8.6 ?


Thanks in advance.

Antoine

Athlon2x
Blank Cone
Blank Cone
Posts: 22
Joined: 22 Oct 2005 16:20
Location: Telecom Lille, France

Postby Athlon2x » 27 Oct 2006 12:16

Someones :

Plugin loading :

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" />
Play :

Code: Select all

document.player.playlist.play()
Pause :

Code: Select all

document.player.playlist.pause()
Stop :

Code: Select all

document.player.playlist.stop()
Fullscreen :

Code: Select all

document.player.playlist.fullscreen()
Mute :

Code: Select all

document.player.audio.toggleMute()
Volume UP :

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; }
Volume Down :

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; }
Edit Playlist :

Code: Select all

function change_pll(url){ document.player.playlist.clear(); document.player.playlist.add(url,null,null); document.player.playlist.play(); }
Antoine


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 3 guests