in reply to Re: [OT] Re: (OT) HTML video tag is not working in cgi
in thread (OT) HTML video tag is not working in cgi

write it in a plain html file

What are you putting in the html file ?

  • Comment on Re^2: [OT] Re: (OT) HTML video tag is not working in cgi

Replies are listed 'Best First'.
Re^3: [OT] Re: (OT) HTML video tag is not working in cgi
by awanti (Acolyte) on Jan 28, 2016 at 12:57 UTC
    <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

      This HTML will only work if you open the HTML file directly.

      If you serve this HTML file over your webserver, this will not work.

      You will need to change the HTML to use a http:// URL and make sure that the mp4 file is accessible through the webserver as well.</p<

        u mean to say i should give absolute path..?but how can i point to my file??