[vlc] Advanced use of VLC in HTML

Question wanliyou at gmail.com
Wed Nov 14 09:11:55 CET 2007


Thanks for reply!
Now sometimes I want to change the data source for the player.
I can do it in 2 ways, right?
1. Set the "src" attribute *twice* to load it directly.
2. Use *vlc.playlist.add(mrl) / vlc.playlist.add(mrl,name,options) *and *
vlc.playlist.playItem(number)* to play it.

I've looked into the MRL issue:
http://wiki.videolan.org/MRL
Is a simple url like "c:\movie.wmv" legal? Are those command-line options
all works fine here?

And the last question. :-)
If both of them work fine, is there any differeces between how they load the
files (I mean on the c++/c side)?



On 11/14/07, Jean-Paul Saman <jean-paul.saman at planet.nl> wrote:
> Question wrote:
> > I've figured it out myself. But strange enough that I can't use those
> > simple control functions any more.
> > For example,
> > vlc.play()  -> vlc.playlist.play()
>
> Since 0.8.6 we are coding a new and more advanced JavaScript API for
> VLC's webplugins. Which means we are discontinuing the old API. In your
> embedded tags you explicitly choose for the new JavaScript API.
>
> Gtz,
> Jean-Paul Saman.
>
> ______________________________________________________
> vlc mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc
>


-- 
>: ~
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc/attachments/20071114/aa070009/attachment.html>


More information about the vlc mailing list