VLC Plugin won't loop

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
alonbr
New Cone
New Cone
Posts: 4
Joined: 08 Aug 2012 08:04

VLC Plugin won't loop

Postby alonbr » 08 Aug 2012 08:28

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.

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: VLC Plugin won't loop

Postby RSATom » 08 Aug 2012 09:03

It's not working in vlc 2.0. Try vlc 2.1 nightly.

alonbr
New Cone
New Cone
Posts: 4
Joined: 08 Aug 2012 08:04

Re: VLC Plugin won't loop

Postby alonbr » 08 Aug 2012 13:06

Thanks for the quick answer, however...
still doesn't work...

:-(

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: VLC Plugin won't loop

Postby RSATom » 08 Aug 2012 14:47

at least on windows it should work.

Svetlika
New Cone
New Cone
Posts: 1
Joined: 15 Aug 2012 15:49

Re: VLC Plugin won't loop

Postby Svetlika » 15 Aug 2012 15:58

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).

alonbr
New Cone
New Cone
Posts: 4
Joined: 08 Aug 2012 08:04

Re: VLC Plugin won't loop

Postby alonbr » 20 Aug 2012 13:10

Thanks for your help...
however... still no luck
:-(

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: VLC Plugin won't loop

Postby RSATom » 20 Aug 2012 17:48


alonbr
New Cone
New Cone
Posts: 4
Joined: 08 Aug 2012 08:04

Re: VLC Plugin won't loop

Postby alonbr » 20 Aug 2012 18:04

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... )
;-)

RSATom
Big Cone-huna
Big Cone-huna
Posts: 513
Joined: 24 Nov 2011 06:55
Operating System: Windows/Linux/OsX
Location: Russia, Tomsk

Re: VLC Plugin won't loop

Postby RSATom » 21 Aug 2012 06:48

and you can try this: http://code.google.com/p/fbvlc/

SnurrDass
New Cone
New Cone
Posts: 7
Joined: 19 Mar 2011 22:16

Re: VLC Plugin won't loop

Postby SnurrDass » 01 Oct 2012 20:46

hi.

tnx for the JS. works purfect :D

rgkluver
Blank Cone
Blank Cone
Posts: 13
Joined: 29 Jan 2013 13:08

Re: VLC Plugin won't loop

Postby rgkluver » 30 Jan 2013 02:04

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.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 13 guests