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

UPDATE: I commented the -attachment line..
-attachment => $attachment,
Now i can able to play the video.

Replies are listed 'Best First'.
Re^12: awanti Perl not playing video with vlc plugin
by Anonymous Monk on Dec 30, 2015 at 08:37 UTC
    attachment or no attachment, vlc plays it fine for me
      Is that a problem??
        Can you please do more little favor?? Can you explain this code? I am not getting what this code block is doing?
        if( my $httprange = $cgi->http('range') ){ if( $httprange =~ /bytes=(\d+)(?:-(\d*))?/i ){ my $from = $1; my $to = $2; $from and $begin = $from; $to and $end = $to; } }