Please, for the love of god, loop!

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
revox
New Cone
New Cone
Posts: 4
Joined: 13 Jun 2006 00:20

Please, for the love of god, loop!

Postby revox » 13 Jun 2006 00:25

Hi, I am driving myself bonkers trying to get autoloop to work. controlname.autoloop=true does not seem to do anything and I am running out of ideas just trying random options (such as :loop=true, -L loop=true) in the addtarget statement. Any help would be GREATLY appreciated.

revox
New Cone
New Cone
Posts: 4
Joined: 13 Jun 2006 00:20

Postby revox » 14 Jun 2006 01:12

arg...this is arguably the best video player in the known universe, it has to be able to loop...it just has to. Anyone....anyone?

dionoea
Cone Master
Cone Master
Posts: 5157
Joined: 03 Dec 2003 23:09
Location: Paris, France

Postby dionoea » 14 Jun 2006 22:23

It has ... but i don't know how to do that in the web plugins
Antoine Cellerier
dionoea
(Please do not use private messages for support questions)

revox
New Cone
New Cone
Posts: 4
Joined: 13 Jun 2006 00:20

Postby revox » 17 Jun 2006 01:05

Dog gone it. I am using the activeX in .net and it works flawlessly...all execpt to that dang auto loop. It has a very prominent property for it Autoloop = true/false. It just does not appear to do anything, which I find extremely strange since the documentation is so scarce, but Autoloop is mentioned often. I just figure I must somehow be doing something wrong.

Quovodis
Cone that earned his stripes
Cone that earned his stripes
Posts: 271
Joined: 16 Jun 2004 11:13
Location: Cork, Ireland

Postby Quovodis » 17 Jun 2006 12:17

autoloop was broken in 0.8.4, but works fine in 0.8.5. however the main gotcha with this feature is that it is only queried during initialization only (typically before the first MRL is played), if you change it afterwards, the new value will be ignored.
other properties in the same boat are MRL and Autoplay.
(basically those guys were designed to be used as HTML parameters and as a persistable default state for VLC in property sheets)
it is possible that those properties may be usable outside of initialization in a future of VLC, but typically they are not needed at runtime as you can use

- play()/pause()/stop() methods for AutoPlay
- addTarget() for MRL
- "input-repeat" option in place of AutoLoop

'input-repeat' is not quite the same as autoloop, as the former repeat a current input/MRL and the latter repeat the whole playlist, but if you repeat an M3U MRL, it should achieve the same goal as AutoLoop.

revox
New Cone
New Cone
Posts: 4
Joined: 13 Jun 2006 00:20

Postby revox » 21 Jun 2006 06:31

Hi Quovodis, thx so much for the reply. I am using 0.8.5, here is my current test code:

mrlstring = "test.avi"

AxVLCPlugin1.AutoLoop = True
VOptions(0) = ":input-repeat=10"
(I have also tried :input-repeat, :input-repeat=true, :input-repeat=yes)

AxVLCPlugin1.AutoPlay = True
AxVLCPlugin1.addTarget(mrlstring, VOptions, AXVLC.VLCPlaylistMode.VLCPlayListAppendAndGo, -666)

It plays once thorugh just fine, but I am still getting no love from the loop. *scratches head*

digizar
Blank Cone
Blank Cone
Posts: 19
Joined: 09 Oct 2006 14:09
VLC version: 0.8.2
Operating System: win, linux
Location: moved from NL to Germany, to Bad-Soden-Salmuenster, Spessart
Contact:

autoloop, et al

Postby digizar » 03 Dec 2006 22:45

Excerpt from description:
...the MRL, Autoplay and Autoloop properties
are only used to configure the initial state
of the ActiveX control, i.e before its activation; they are ignored afterward.

...which is 'not very convenient'.
Especially if one needs a few vlc players simultaneously -
all with different options.

Maybe it is changed in 0.9.x ?
Since 1962 in IT-Business -with the big BLUE IBMs-
(I am 67 now, still in business better than ever),
12 years experience of MS-V-Studio,
A few handful of years experience in Línux/Unix.
Lots of years of experience in microcontrollers.
See the personal website.


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 46 guests