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

yeah i executed the program in the terminal. here is the output of that
Content-Type: text/html Content-Type: application/x-vlc-plugin Cache-Control: public, must-revalidate, max-age=0 Pragma: no-cache Accept-Ranges: bytes Content-Length: 128959310 Content-Range: bytes 0-128959310/128959310 Content-Disposition: inline; filename="lua.mp4" Content-Transfer-Encoding: binary Connection: close
In the error log it is writing
Premature end of script headers: download.cgi

Replies are listed 'Best First'.
Re^13: Perl not playing video with vlc plugin
by Corion (Patriarch) on Dec 29, 2015 at 15:16 UTC

    Your program does not finish the output of its headers correctly. You need an empty line between the headers and the start of the content. You could add the following line after you have printed all your headers and before you start printing the file content:

    print "\r\n"; # end of headers
      Now i am able to open the plugin the video is not playing

        As already pointed out, you're not sending any data.