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

This is why it works and what Corion already said. The video serves because the context is the file:/// tree. But once you serve the HTML through any kind of webserver, the path to the video will not exist in that context. Probably one of these will work but it depends on the type and configuration of the webserver you are using–

<source src="video.mp4" type="video/mp4"> <source src="c/video.mp4" type="video/mp4"> ...etc...

Replies are listed 'Best First'.
Re^9: [OT] Re: (OT) HTML video tag is not working in cgi
by awanti (Acolyte) on Jan 28, 2016 at 17:54 UTC
    no this is also not working..Any other way please tell me??

      What URL are you using to visit your CGI and what webserver is your CGI working with/under? You just need to get a handle on the difference between the file system and the webserver environment. Once you understand that, the path stuff will start to make more sense, I think.