Page 1 of 1

VLC Plugin won't loop

Posted: 08 Aug 2012 08:28
by alonbr
Hello
Newbe here! :-)

wrote a small HTML.
it has a div with:
<embed type="application/x-vlc-plugin" toolbar="false" autoloop="yes" width="1220" height="910"
src="file:///MagicHTML/MagicHTML/Video/MainVideo.wmv"/>
For whatever reason it won't loop!
I tried:
loop="yes"
autoloop="true"
loop="true"
the file is on a local network share and starts perfecly!
OS: XUBUNTU 12.04
Firefox: Mozilla Firefox 14.0.1
VLC player: VLC media player 2.0.3 Twoflower (revision 2.0.2-93-g77aa89e)
Don't know the version of the mozilla-plugin-vlc plugin (Don't know ho to test, but it's the latest on UBUNTU repositories)
browser-plugin-vlc 2.0.0-1
Please!! Help me!! I don't understand what am I doing wrong...
thank you.

Re: VLC Plugin won't loop

Posted: 08 Aug 2012 09:03
by RSATom
It's not working in vlc 2.0. Try vlc 2.1 nightly.

Re: VLC Plugin won't loop

Posted: 08 Aug 2012 13:06
by alonbr
Thanks for the quick answer, however...
still doesn't work...

:-(

Re: VLC Plugin won't loop

Posted: 08 Aug 2012 14:47
by RSATom
at least on windows it should work.

Re: VLC Plugin won't loop

Posted: 15 Aug 2012 15:58
by Svetlika
Hi.
I have same problem (param "loop" and "autoloop" doesn't work) and I solved it with JavaScript.

Maybe it was useful:

Code: Select all

<embed type="application/x-vlc-plugin" pluginspage="http://www.videolan.org" width = "1120" height="894" id = "vlc" name = "vlc" autoplay = "True" toolbar = "false" bgcolor = "#000000" allowfullscreen = "false" loop = "true" autoloop = "true" filename = "70.mp4" /> <script language="Javascript"> function playAgain() { if(document.vlc.playlist.isPlaying==false) { document.vlc.playlist.play(); } var s = setTimeout("playAgain()",1000); } var vlc = document.getElementById("vlc"); vlc.video.aspectRatio='5:4'; var s = setTimeout("playAgain()",1000); </script>
Windows 7, Chrome.
The task was - to play video file from local pc on html page (not from internet or other network, only from pc).

Re: VLC Plugin won't loop

Posted: 20 Aug 2012 13:10
by alonbr
Thanks for your help...
however... still no luck
:-(

Re: VLC Plugin won't loop

Posted: 20 Aug 2012 17:48
by RSATom

Re: VLC Plugin won't loop

Posted: 20 Aug 2012 18:04
by alonbr
well... I'll try it and let you know.
I'll try it by the end of this week.
However, decided to go ahead and use mplayer plugin... for now it works however I did get a strange error on the first try, so to avoid it coming back for whatever reason I would love using VLC plugin (I do trust it to play *ANYTHING* starting with Audio\Video file parts and ending with some strange .doc files... )
;-)

Re: VLC Plugin won't loop

Posted: 21 Aug 2012 06:48
by RSATom
and you can try this: http://code.google.com/p/fbvlc/

Re: VLC Plugin won't loop

Posted: 01 Oct 2012 20:46
by SnurrDass
hi.

tnx for the JS. works purfect :D

Re: VLC Plugin won't loop

Posted: 30 Jan 2013 02:04
by rgkluver
instead of having a timer consumer resources, consider using the event listerners instead to detect the end of the playlist and then start it up again.