1. Computer problem? Tech Support Guy is completely free -- paid for by advertisers and donations. Click here to join today! If you're new to Tech Support Guy, we highly recommend that you visit our Guide for New Members.

Solved MP4 video will not play on wordpress site

Discussion in 'Web Design & Development' started by christinewulfit, Jan 13, 2018.

Advertisement
  1. christinewulfit

    christinewulfit Thread Starter

    Joined:
    Apr 29, 2016
    Messages:
    56
  2. colinsp

    colinsp

    Joined:
    Sep 5, 2007
    Messages:
    2,136
    First Name:
    Colin
    Your src statement is incorrect it should be

    Code:
    http://sapeginlabs.com/clinnovation/wp-content/uploads/2017/12/Holosachristinehtml5.mp4
    
    If you paste that url direct in to your browser you will see that you get an error with incorrect video / mime type.

    If you look at https://www.w3schools.com/html/html5_video.asp you need to change your code to something like

    Code:
    <video width="1156" height="154" autoplay>
      <source src="http://sapeginlabs.com/clinnovation/wp-content/uploads/2017/12/Holosachristinehtml5.mp4" type="video/mp4">
    Your browser does not support the video tag.
    </video>
    
    You need the last line for people using old browsers.
     
  3. christinewulfit

    christinewulfit Thread Starter

    Joined:
    Apr 29, 2016
    Messages:
    56
    Hi Colin, yes I see that, it seems to work only in safari at this point, I will try another format for firefox and chrome
     
  4. christinewulfit

    christinewulfit Thread Starter

    Joined:
    Apr 29, 2016
    Messages:
    56
    Great, OK, i used Media Encoder to convert to adobe animate file .fla to MP4 and now works in all browsers. Thanks for your help Colin.
     
    colinsp likes this.
As Seen On
As Seen On...

Welcome to Tech Support Guy!

Are you looking for the solution to your computer problem? Join our site today to ask your question. This site is completely free -- paid for by advertisers and donations.

If you're not already familiar with forums, watch our Welcome Guide to get started.

Join over 733,556 other people just like you!

Loading...

Short URL to this thread: https://techguy.org/1202865