Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

Re^8: awanti Perl not playing video with vlc plugin

by Corion (Patriarch)
on Dec 30, 2015 at 07:50 UTC ( [id://1151450]=note: print w/replies, xml ) Need Help??


in reply to Re^7: awanti Perl not playing video with vlc plugin
in thread Perl not playing video with vlc plugin

So maybe your webserver does not like a HTTP status line written from your script. Have you consulted the web server documentation as to what it wants CGI scripts to output?

Maybe you can leave that line out, or change it to output the following instead:

Status: 200

This will likely be documented in your web server documentation.

Replies are listed 'Best First'.
Re^9: awanti Perl not playing video with vlc plugin
by Anonymous Monk on Dec 30, 2015 at 07:59 UTC
    oooh, clever eagleeye :D -nph option forces full set of headers, if thats a problem, omit -nph line .... webservers are WEIRD
      i think -nph line was the problem when i commented that it has no errors..but instead playing the video it is prompting a dialog to save the that file.
        UPDATE: I commented the -attachment line..
        -attachment => $attachment,
        Now i can able to play the video.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1151450]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others imbibing at the Monastery: (5)
As of 2024-04-24 10:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found