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

file:///home/ubuntu_workspace/c/test.html
Is this you are asking?

Replies are listed 'Best First'.
Re^8: [OT] Re: (OT) HTML video tag is not working in cgi
by Your Mother (Archbishop) on Jan 28, 2016 at 13:42 UTC

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

Re^8: [OT] Re: (OT) HTML video tag is not working in cgi
by Anonymous Monk on Jan 29, 2016 at 00:28 UTC

      ⇧ ++ 👍

        So how can i map the local drive like /home/../test.mp4 of course it is not the http:://home../test.mp4