[vlc-devel] [PATCH] This patch adds an --http-add-head-string (additional header string) option to vlc

Juan Cristóbal Olivares cristobal at cxnet.cl
Mon Aug 2 10:30:16 CEST 2010

On Mon, Aug 2, 2010 at 4:27 AM, Maximilian Podany <m.podany at art-est.at>wrote:

> On Mon, 2010-08-02 at 09:15 +0200, Rémi Denis-Courmont wrote:
> > If you really want to fix that, you need to get the referer from the
> > browser (I don't know how that's done), and pass it. I am not convinced
> > that yet another obscure command line option solves the problem
> I now know how to get the referer from the browser. The
> mozilla-vlc-plugin already parses the "document.location.href" string in
> it's init function. So you would just have to extract the base url and
> pass it as an argument with --http-referer to the libvlc-instance.
> If I understand right, you will need to be careful and check if the
referrer is actually a URL.


Juan Cristóbal Olivares
Skype:* *cxnet6001
Fono: +56-2 201 9699 (Anexo 6001)
Directo: +56-2 220 5946
Celular: +56-9 9871 7277
Apoquindo 5123, Oficina 1301
Las Condes, Santiago, Chile
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20100802/15aab266/attachment.html>

More information about the vlc-devel mailing list