Run video in html in netbeans?

Shiva

New member
i am not able to run a video in an html file in netbeans IDE. When i dont run the code in netbeans, the video is playin. Any idea what could be the problem. Please help. Here is the code i am using


<html>
<head>
</head>
<body>
<video width="320" height="240" controls>
<source src="source of the video" type="video/mp4"/>
</video>
</body>
</html>
 
Would you mind giving us the source of the video?


<source src="source of the video" type="video/mp4"/>

???

--- Edit ---

When I had trouble playing a video in HTML, I used the iframe tag instead of the video tag:

Here's a link to what I have.

http://codepad.org/umgTY0bF

I validated the HTML so I had to add a DOCTYPE (this specifies HTML5) and I added a <title> element since it is required to validate, and I added a declaration of UTF-8 as the charset. It's good to have pages that validate.
 
Back
Top