Page 1 of 1

VLC Player Firefox Plugin without Controls!

Posted: 14 Mar 2011 13:28
by eumelchen98
Hi,

I'm looking for weeks now for a solution to my problem but I can't find anything that helps.
I've always watched divx videos in Firefox with the DivX web player. Unfortunately it causes big problems and crashs in recent versions of FF. So I looked for an alternative and installed the VLC Player (Version 1.1.7) with the FF plugin. The video is played without problems and crashes but unfortunately without any controls. I can see no bar with the button "Play / Pause" etc. and I can not activate full screen mode via double click on the video. Right click on the video does not show anything anyway.
I have now completely reinstalled Windows and installed the codec packs from Shark. So everything should be fine as far as the system is concerned... but the problem still remains.

My system is in the signature.

Many thanks in advance

Re: VLC Player Firefox Plugin without Controls!

Posted: 15 Mar 2011 20:46
by nanohcv
Hi,

I have the same problem. (vlc 1.1.7 win32)
Can't switch to fullscreen.

But it works with the old vlc 0.8.6.

Re: VLC Player Firefox Plugin without Controls!

Posted: 16 Mar 2011 02:07
by eumelchen98
Ok I tried the version 0.86 and it plays the video and I can switch to fullscreen but i still have no controls...

Re: VLC Player Firefox Plugin without Controls!

Posted: 17 Mar 2011 14:21
by eumelchen98
Anyone an idea???

Re: VLC Player Firefox Plugin without Controls!

Posted: 19 Mar 2011 14:39
by eumelchen98
Ist it possible that here is no real support available? I wrote an email to the support also an didn't get an answer yet.

Re: VLC Player Firefox Plugin without Controls!

Posted: 16 Apr 2011 23:07
by egosapienz
Wow! I´m not the only one with this problem! Hope there will be a solution!

Re: VLC Player Firefox Plugin without Controls!

Posted: 17 Apr 2011 15:35
by VLC_help
VLC browser plugins don't have any controls by default.

Re: VLC Player Firefox Plugin without Controls!

Posted: 20 Jun 2011 07:54
by Vgoto
Hi VLC_help, is there any way to get the controls using anything? To avoid the default settings. Thanks in advance.

Re: VLC Player Firefox Plugin without Controls!

Posted: 20 Jun 2011 19:07
by VLC_help
You have to add javascript controls, but there are many settings that you cannot override in browser plugin because of security issues.

Re: VLC Player Firefox Plugin without Controls!

Posted: 21 Jun 2011 20:34
by Vgoto
Thanks VLC_help, but I am not familiar with Java. :D

I've tried to search and it seems that noone didn't make such scripts for downloading. It would be marvelous if we could have just a few controls ( play,pause,stop,full screen,audio controls) . I am not asking for much more.

Re: VLC Player Firefox Plugin without Controls!

Posted: 22 Jun 2011 00:19
by Vgoto
VLC_help,

I've found the script written by Cromartie888 in this thread which is working for me in the blogger:

viewtopic.php?f=16&t=55544#p302755

Could you maybe help with the implementing the full screen option? Only that option is not available.
<div align="center">
<table>
<tr> <td>
<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" version="VideoLAN.VLCPlugin.2"
width="640"
height="480"
autoplay="no"
id="vlc"
target="videosample.avi">
</embed>
<div id="info">
</div>
<input type="button" class="sed1" onclick="else_r();" size='30' value="Info" />
<textarea id="txtout" rows="10" cols="45"></textarea>
</td> <td>
<script type="text/javascript">

var vlc = document.getElementById("vlc");
if(vlc){
document.getElementById("info").innerHTML = "Ready";
} else {
document.getElementById("info").innerHTML = "Not Ready";
}
function mute(){
vlc.audio.toggleMute();
}
function play(){
vlc.playlist.play();
intval = setInterval(uptime, 250);
}
function stop(){
clearInterval(intval);
vlc.playlist.stop();

}
function pause(){
vlc.playlist.togglePause();
}
function c_time(){
return eval(vlc.input.time / 1000);
}
function seek(value){
var vlc = document.getElementById("vlc");
//alert(value);
vlc.input.time = eval(value*1000)
//return true;
}
function backof(value){
var vlc = document.getElementById("vlc");
vlc.input.time = vlc.input.time - eval(value*1000);
//alert(vlc.input.state);
//return true;
}

function uptime(){
document.getElementById("nowt").innerHTML = eval(vlc.input.time/1000);
}
function else_r(){
oi = document.getElementById("txtout");
oi.value = '';
oi.value += vlc.versionInfo() +"\n";
oi.value += "VLC position " + vlc.input.position +"\n";
oi.value += "VLC length " + vlc.input.length +"\n";
oi.value += "VLC rate " + vlc.input.rate +"\n";
oi.value += "VLC is Playing " + vlc.playlist.isPlaying +"\n";
}
</script>
<input type="button" onclick='play();' value="Play" />
<input type="button" onclick='pause();' value="Pause" />
<input type="button" onclick='stop();' value="Stop" />
<input type="button" onclick='document.getElementById("info").innerHTML = c_time();' value="Time" />
<input type="button" onclick='mute();' value="Mute" />
<div>
<input id="seekto" type="text" size="4" value="10" />
<input type="button" class="sed1" onclick="seek(document.getElementById('seekto').value);" size='30' value="Seek (sec)" />
<input id="backof" type="text" size="4" value="5" />
<input type="button" class="sed1" onclick="backof(document.getElementById('backof').value);" size='30' value="Back of (sec)" />
</div>
<div id="nowt">
</div>
</td></tr>
</table>
</div>
Example, how this looks like on the blogger page:

Image

or the direct link to the image:

http://img19.imageshack.us/img19/3872/v ... inblog.jpg

Thanks in advance, Vgoto :wink:

Re: VLC Player Firefox Plugin without Controls!

Posted: 22 Jun 2011 19:32
by VLC_help
I haven't done any Javascript for VLCpluging so I don't know how to create fullscreen controller or if it is even possible.

Re: VLC Player Firefox Plugin without Controls!

Posted: 23 Jun 2011 05:43
by Vgoto
Ok, thanks for your answer VLC_help. Even this is great. :wink: Just need to be careful not to add avi format, because I've figured that it's not possible to seek the minutes than.

Re: VLC Player Firefox Plugin without Controls!

Posted: 30 Apr 2014 15:46
by samtyagi
when you press pause video get paused but to resume it if you press play it resume from the start. please resolve this issue