Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
Digital Lifestyle
Web Design and Hosting
MP4's do not display on my webpage
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="darrylyoung" data-source="post: 1226705" data-attributes="member: 59527"><p>Read up on the <video> element in HTML5. When you declare the element, you can set numerous <source> elements as <em>children</em> of the <video> element. These should ideally contain formats which cover all platforms. You can also have an <object> which provides a Flash fallback for browsers that don't support HTML5. A quick example of the code could be:</p><p></p><p><em><video controls autoplay></em></p><p><em> <source src="video.mp4" type="video/mpeg"></source></em></p><p><em> <source src="video.ogv" type="video/ogg"></source></em></p><p><em> </em></p><p><em> <object width="800" height="600" data="video.swf"></em></p><p><em> <param name="movie" value="video.swf"></em></p><p><em> <embed src="video.swf" width="800" height="600"></em></p><p><em> </object></em></p><p><em> </em></p><p><em> <p>Your browser doesn't support any of our formats</p></em></p><p><em></video></em></p><p></p><p>That should point you in the right direction. There's so much information available about HTML5 video.</p></blockquote><p></p>
[QUOTE="darrylyoung, post: 1226705, member: 59527"] Read up on the <video> element in HTML5. When you declare the element, you can set numerous <source> elements as [I]children[/I] of the <video> element. These should ideally contain formats which cover all platforms. You can also have an <object> which provides a Flash fallback for browsers that don't support HTML5. A quick example of the code could be: [I]<video controls autoplay> <source src="video.mp4" type="video/mpeg"></source> <source src="video.ogv" type="video/ogg"></source> <object width="800" height="600" data="video.swf"> <param name="movie" value="video.swf"> <embed src="video.swf" width="800" height="600"> </object> <p>Your browser doesn't support any of our formats</p> </video>[/I] That should point you in the right direction. There's so much information available about HTML5 video. [/QUOTE]
Verification
Name this item 🌈
Post reply
Forums
Digital Lifestyle
Web Design and Hosting
MP4's do not display on my webpage
Top