[vlc] Re: No autoplay with mozillaplugin for 0.8.2

Iván Sánchez Ortega i.sanchez at mirame.net
Tue Jul 12 17:03:51 CEST 2005


El Martes, 12 de Julio de 2005 17:01, Peter Maersk-Moller escribió:
> <embed id="vlc_player" type="application/x-vlc-plugin"
>             name="vlc_player"
>             autoplay="yes"
>             loop="no"
>             width="100%"
>             height="100%"
>             target="rtsp://myserver/myclip">
>            </embed>
>
> Can anyone confirm that it works or doesn't work ?
>
> Is there a workaround in case it dowsn't work ?

First, don't use the obsolete <embed>, but the XHTML-compliant <object> tag:

<object type='application/x-vlc-plugin' id='vlc_player' events='True'>
 <param name='src' value='$video' />
 <param name='autoplay' value='1' />
</object>

Second, use a little bit of javascript to get it running if autoplay doesn't 
do the trick:

<script type='text/javascript'>
document.getElementById('vlc_player').play();
</script>";

-- 
----------------------------------
Iván Sánchez Ortega <i.sanchez at mirame.net> <ivansanchez at escomposlinux.org>

Proudly running Debian Linux with 2.6.8-1-386 kernel, KDE3.4.0, and PHP 
5.0.4-1.dotdeb.1 generating this signature.
Uptime: 17:01:31 up 6 days, 21:12,  3 users,  load average: 0.30, 0.33, 0.27

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