I am working on an html page on my local drive.
I want to insert a video file that is also stored on my local HD.
When I use:
I get a window in the page where the video should play, but it has the lego brick icon with "Click here to download plugin".
<embed src="/foo/bar/HowToo.mp4" autostart="false" />
It shouldn't be a problem with plugins as I can play any video format from hulu to youtube, etc...
I have also tried
Here, nothing appears it's as if the object code doesn't exist at all.
<object data="/foo/bar/HowToo.mp4" type="video/mp4" />
Just to prove to myself that I am entering the correct path/file name, I have also tried:
In this case when I click the link generated, it does load my local player and the video, but I want this to play in the browser, not a separate window.
<a href="/foo/bar/HowToo.mp4">Play a video file</a>
Finally, I also tried:
In this case, I get asked what to do (download or play with external player).
type='video/mp4; codecs="avc1.42E01E, mp4a.40.2"'>
What am I doing wrong, and how do I fix it?