Quote:
Originally Posted by billquinn
but this is what greeted me:
<video width="320" height="240" controls>
<source src="movie.mp4" type="video/mp4">
<source src="movie.ogg" type="video/ogg">
Your browser does not support the video tag.
</video>
"Your browser does not support the video tag"????? What's wrong? As I mentioned in my first post, my Firefox is the most recent release using yum: 78.3.0esr (32-bit).
|
You are looking at example code. It is not a comment on
your browser.
That text is the fallback text output for
versions of Firefox before 3.5 (or any browser that doesn't support playing media for any reason). In a
better example a hyperlink is included to allow direct download in those situations.
Also, as per
post #3 to play audio in a browser you use the
audio tag, rather than the video tag. The
syntax is the same:
Code:
<audio controls>
<source src="myAudio.mp3" type="audio/mpeg">
<source src="myAudio.ogg" type="audio/ogg">
<p>Your browser doesn't support HTML5 audio. Here is a <a href="myAudio.mp4">link to the audio</a> instead.</p>
</audio>