Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re^3: [OT] Re: (OT) HTML video tag is not working in cgi

by awanti (Acolyte)
on Jan 28, 2016 at 12:57 UTC ( [id://1153850]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1153850]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others surveying the Monastery: (2)
As of 2024-04-20 03:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found