Video not playing on some browsers

by Okenyon 4 replies
<video id="my_video_1" class="video-js vjs-default-skin" controls
  preload="auto" autoplay width="640" height="360"
  <source src="video/thedojoaffiliatesystem.mp4" type='video/mp4'>
So this is my code however it only seems to play on chrome and safari

can anyone tell me why and also recommend a fix/different code?

#programming #browsers #playing #video
Avatar of Unregistered
  • Profile picture of the author David V
    Looks like your using the 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.
    "David has managed the digital side of my retail business for over 8 yrs
    and I can't imagine working with anyone else. ~ Carrie Silva | TheDoghouseLLC
    {{ DiscussionBoard.errors[7765468].message }}
  • Profile picture of the author Okenyon
    Using JWPlayer - thanks so much.

    Co-Founder of pagesource and REBELHEAD, fully qualified chef turned online entrepreneur, lover of Prosecco and LFC.

    More about me here.

    {{ DiscussionBoard.errors[7767184].message }}
  • Profile picture of the author Michael71
    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 -

    {{ DiscussionBoard.errors[7767218].message }}
Avatar of Unregistered

Trending Topics

  • 8 {{ upvoteCount | shortNum }}
  • 108 {{ upvoteCount | shortNum }}

    Warriors .... Warriors.... what would you like to LEARN?

    Good Morning awesome Warriors... I'm happy to announce that The Warrior Forum is planning to create our first COURSE. Yes... Powered by Warrior Wisdom... yeah!! Made at home. But before ... [read more]

  • 92 {{ upvoteCount | shortNum }}

    How I Sold 985 Copies of an Affiliate Offer in 5 Days (Step by Step)

    When I first started online in 2002, it took me a year to sell 985 copies of anything. These days, I can typically do it in the span of a ... [read more]

  • 32 {{ upvoteCount | shortNum }}

    1 Billion Dollar - Really ???

    Hey Warriors: Lets' assume you have "1 Billion Dollar" in your bank account. What would you do with this money ? Curious to know your views Cheers, Steve

  • 54 {{ upvoteCount | shortNum }}

    1 Powerful Concept that Grows Your Business

    Connect with people interested in what you have to offer. Mindfully. Versus desperately running from prospect to prospect, or from number to number. This idea sounds simple, and like common ... [read more]