| | #1 |
| HyperActive Warrior War Room Member Join Date: 2010 Location: UK
Posts: 377
Thanks: 35
Thanked 39 Times in 20 Posts
| Code: <video id="my_video_1" class="video-js vjs-default-skin" controls
preload="auto" autoplay width="640" height="360"
data-setup="{}">
<source src="video/thedojoaffiliatesystem.mp4" type='video/mp4'>
</video> can anyone tell me why and also recommend a fix/different code? thanks. |
|
Owner at Internet Marketing Deals and Coupons and Landing Page Guys, fully qualified chef turned online entrepreneur, lover of Prosecco and LFC. More about me here. | |
| |
| | #2 |
| WP Dev & Design War Room Member Join Date: 2011 Location: Earth
Posts: 787
Thanks: 92
Thanked 271 Times in 226 Posts
Blog Entries: 4 |
Looks like your using the Videojs.com html5 code. Browser support is likely the issue for the mp4. This html5 test site will help you determine what will/won't work. You may need a fallback type like ogg or use a different method to deliver the video like JWplayer, etc... that provides multiple types and fallbacks. Just an idea... Just as a note: If your .mp4 file uses MPEG-4 compression then you want to convert it using the more efficient H.264. |
| |
| | #3 |
| HyperActive Warrior War Room Member Join Date: 2010 Location: UK
Posts: 377
Thanks: 35
Thanked 39 Times in 20 Posts
|
Using JWPlayer - thanks so much.
|
|
Owner at Internet Marketing Deals and Coupons and Landing Page Guys, fully qualified chef turned online entrepreneur, lover of Prosecco and LFC. More about me here. | |
| |
| | #4 |
| ResponsiveDesignTest.Net Registered Member Join Date: 2011 Location: Rostock, Germany
Posts: 829
Thanks: 106
Thanked 225 Times in 194 Posts
|
Take a look here: Can I use... Support tables for HTML5, CSS3, etc You need a fallback or different video formats to play in most browsers. |
|
HTML/CSS/jQuery/ZURB Foundation/Twitter Bootstrap/Wordpress/Frontend Performance Optimizing --- Need HTML/CSS help? Skype: microcosmic - Test Your Responsive Design - InternetCookies.eu | |
| |
| | #5 |
| Advanced Warrior War Room Member Join Date: 2006 Location: USA
Posts: 1,907
Thanks: 236
Thanked 1,377 Times in 676 Posts
|
To cover all browsers, you need to specify multiple 'sources' (ie mp4 AND webm), and use Flash fallback for older browsers. Read everything on this page... Using the HTML5 Video Tag | LongTail Video | Home of the JW Player Your code should look similar to the example at the bottom of that page. |
| | |
| |
|
| Bookmarks |
| Tags |
| browsers, playing, video |
| |