[vlc] Re: No autoplay with mozillaplugin for 0.8.2
Peter Maersk-Moller
peter at maersk-moller.net
Wed Jul 13 01:51:19 CEST 2005
Hi
Jason Berry wrote:
> Use <body onload="document.video1.play()">
> http://forum.videolan.org/viewtopic.php?t=9923
That works, most of the time, but I'm almost sure that
body onload means the page has been loaded, not necessarily that
all elements in the body is up on running. I.e. the page referencing
the vlc object/embed has been loaded and eventually the plugin gets loaded,
initialized and ready, but not necessarily before the body onload is called.
What is needed, besides getting autoplay to work, is a javascript
method that won't throw an error. Maybe something about testing if
something with the player is available. Not sure how to do that without
throwing an error though.
That brings me back to an earlier topic I raised, but never
foudn an answer for. That is how to test in javascript for
a) availability of the VLC plugin like you
can do for Quicktime and other plugins.
b) check the version number of the plugin so I can
recommend users to upgrade their VLC, if it
to old for their comfort.
Kind regards
--PMM
+----------------------------------------------------------+
| Kabel-TV over Internettet -- http://www.streamtv.dk/ |
+----------------------------------------------------------+
--
This is the vlc mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://www.videolan.org/support/lists.html
More information about the vlc
mailing list