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

<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

Replies are listed 'Best First'.
Re^4: [OT] Re: (OT) HTML video tag is not working in cgi
by Corion (Patriarch) on Jan 28, 2016 at 12:59 UTC

    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??

        What location shows in your browser when you access the html file ?

        poj