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

It is working if i write it in a plain html file...if i write in the cgi script..it is not working
  • Comment on Re: [OT] Re: (OT) HTML video tag is not working in cgi

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

        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<