in reply to (OT) HTML video tag is not working in cgi

This is an HTML question and is unrelated to Perl.

Use a URL in the src attribute, even a relative one and you should be fine.

Addendum: You might find Mapping URLs to Filesystem Locations to be informative.

Replies are listed 'Best First'.
Re: [OT] Re: (OT) HTML video tag is not working in cgi
by awanti (Acolyte) on Jan 28, 2016 at 12:19 UTC
    It is working if i write it in a plain html file...if i write in the cgi script..it is not working
      write it in a plain html file

      What are you putting in the html file ?

        <video width="320" height="240" controls> <source src="/home/ubuntu_Workspace/c/video.mp4" type="video/mp4"> Your browser does not support the video tag. </video>
        With the relative path i can able to play..but with cgi script it is giving error