in reply to Re^6: playing video using vlc plugin
in thread playing video using vlc plugin
Currently you send a Content-Disposition header which tells the browser to download the file instead of playing it back:
print "Content-Disposition: attachment; filename=\"$name$ext\"\n";
Maybe removing the header is all you need. Does downloading the file work and produce a file identical to the original?
Also, I don't find any documentation for your choice of Content-Type: x-vlc-plugin. The only search results with that word are for example this Stackoverflow page, which talks about the client side HTML that is needed to embed the VLC plugin. Maybe using video/mp4 or audio/mp4 as the content type is the correct approach?
I would try to divide the problem into three parts:
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: playing video using vlc plugin
by awanti (Acolyte) on Dec 28, 2015 at 13:03 UTC | |
by Corion (Patriarch) on Dec 28, 2015 at 13:08 UTC | |
by awanti (Acolyte) on Dec 28, 2015 at 13:22 UTC | |
by awanti (Acolyte) on Dec 29, 2015 at 07:00 UTC |