[vlc-devel] [PATCH] This patch adds an --http-add-head-string (additional header string) option to vlc
Maximilian Podany
m.podany at art-est.at
Mon Aug 2 10:27:01 CEST 2010
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.
More information about the vlc-devel
mailing list