in reply to Re^2: Perl not playing video with vlc plugin
in thread Perl not playing video with vlc plugin
From here on, I assume that you already have a static version of the video playback working that does not involve Perl or webmin at all.
Your HTTP headers are very wonky. Please inspect them, again. Like I already told you, you should be using \r\n to delimit your HTTP headers.
The following lines are problematic:
print "Content-Length: $end - $begin\n\n";
This means that for the web browser, all other headers after this get ignored.
Also, this means that your script outputs something like:
Content-Length: 50000000-0
... which is malformed. You will need to actually calculate the length before printing the length header.
You could have found these using the techniques I told you before. Maybe you want to retry these techniques.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: Perl not playing video with vlc plugin
by awanti (Acolyte) on Dec 29, 2015 at 11:20 UTC | |
by Corion (Patriarch) on Dec 29, 2015 at 11:31 UTC | |
by awanti (Acolyte) on Dec 29, 2015 at 11:42 UTC | |
by Corion (Patriarch) on Dec 29, 2015 at 11:49 UTC | |
by awanti (Acolyte) on Dec 29, 2015 at 12:04 UTC | |
|