[vlc-devel] [lua] Proposal for a standard-included playlist script...

John Oyler john.m.oyler at gmail.com
Tue Aug 14 18:02:20 CEST 2012

On Tue, Aug 14, 2012 at 10:29 AM, Rémi Denis-Courmont <remi at remlab.net> wrote:
> Le lundi 13 août 2012 06:23:28 John Oyler, vous avez écrit :
>> Wouldn't have to be link tags, but they seem like the right sort. As
>> for "something special"... the playlist I linked to would be capable
>> of installing such, but for a few disabled scripting features.
> I don't think it's correct to install content from <link>. Normally, the
> website owner ought to be able to refresh it.

It could just as easily be any tag, even a non-standard one. But as I
understand the html specs, links are for linked content that a
webbrowser user isn't meant to click on to download or go to a new
page. That's why it's used for things like favicons and stylesheets.

I don't have any fantasy of Youtube putting such a tag on their own
page, but many smaller websites might do such. I have in mind a more
particular purpose...

If you can send a VLC user to any arbitrary webpage, say for instance
abcxyz.com, and when they control-N and put in that url, this playlist
script sees the link tag and downloads/installs the playlist script
for abcxyz.com, then that website can become a sort of tv channel.
Let's say that they only have one video on the page (which doesn't
even have to display... maybe there's no Flash player), VLC starts
playing that video. A second link can also load, but instead of a
video, it just links back to the same page self-referentially. So
after playing the video, it reloads the page, and the website
dynamically changes the video link. And this will play until the user
stops it. The videos don't even have to be from the same site... if
you put a link to a Youtube video, when the playlist script loads
"http://youtube.com/watch?=xxx", then the youtube.lua picks up on
that, loads that video.

I have this working, by the way (other than that the users have to
install my playlist manually). If anyone wants to check it out,
install this:

And then open this:

Give me a nudge though, I don't have anything scheduled for today.

More information about the vlc-devel mailing list