AutoPlay in firefox

All you've ever wanted to know about the ActiveX, Mozilla plugins, the web interface and various PHP extensions
Curio

AutoPlay in firefox

Postby Curio » 27 Jan 2006 11:39

I have embedded the plugin in a test page with <object> and <embed> tags to support mozilla / windows.

I set Autoplay to yes / True to start the clip playing immediately.

It works fine for IE and Netscape, however in Firefox it dosent AutoPlay.

I can start it with a play control, which means I can use a script to start it playing when the page loads.

But I was just wondering if this was a bug?

tonsofpcs
Cone that earned his stripes
Cone that earned his stripes
Posts: 363
Joined: 04 Jan 2006 10:03
Location: Binghamton, NY, USA
Contact:

Postby tonsofpcs » 01 Feb 2006 01:40

Be sure that autoplay is set BEFORE the file loads, or set it to 'andgo' when you load it

bradcarter
Blank Cone
Blank Cone
Posts: 15
Joined: 10 Nov 2004 20:18

Postby bradcarter » 18 Jun 2006 18:15

I can't get autoplay to work either. I can get it to play using the href java link. My end goal is to only have the video on the page with a few controls for the Axis camera that the stream is coming from. Here's the code I'm using which is from the online documentation sample but I changed the target link.

Code: Select all

<embed type="application/x-vlc-plugin" name="video1" autoplay="yes" loop="no" target="rtsp://192.168.0.15/mpeg4/1/media.amp" height="240" width="320"> <br> <a href="javascript:;" onclick="document.video1.play()">Play video1</a> <a href="javascript:;" onclick="document.video1.pause()">Pause video1</a> <a href="javascript:;" onclick="document.video1.stop()">Stop video1</a> <a href="javascript:;" onclick="document.video1.fullscreen()">Fullscreen</a>

alec_robertson

Postby alec_robertson » 19 Jun 2006 17:57

Does this site autoplay for you: web.mit.edu/alecr/www/cwf ?

It autoplays for me in Firefox on Linux with the latest vlc-svn build but does not autoplay with vlc-0.8.5 (downloaded from videolan) on OSX or XP.

bradcarter
Blank Cone
Blank Cone
Posts: 15
Joined: 10 Nov 2004 20:18

Postby bradcarter » 21 Jun 2006 06:10

It doesn't autoplay on Safari or Firefox on the Mac but did start to play when I clicked play. This was with version 0.12 of the plugin.

donnapaul
Blank Cone
Blank Cone
Posts: 13
Joined: 24 Jun 2006 23:17

Postby donnapaul » 24 Jun 2006 23:21

Same problem: Cannot get 'autoplay' to work

alec_robertson

Postby alec_robertson » 25 Jun 2006 18:01

I just installed the latest nightly windows build (http://nightlies.videolan.org/build/win ... 60625-0001) and autoplay now works for me in XP + Firefox...


Return to “Web and scripting”

Who is online

Users browsing this forum: No registered users and 1 guest