Jump to content
Sign in to follow this  
zazu

HTML Video tag not working on safari and mobile phones

Recommended Posts

Hi, 

I have the following code for playing a video on my page. The problem is that the video works good on desktop browsers, but on desktop safari and mobile browsers it displays me only the cover image not playing the video. I've tried a couple of solutions but none of them seems to be working for me.

        <video autoplay class="embed-responsive-item" poster="videos/cover.jpg">
        <source src="videos/landing_page_video_vimeo5_converted.mp4" type="video/mp4">
        <source src="videos/landing page video vimeo5.ogg" type="video/ogg">
        <source src="videos/landing page video vimeo5.ogg" type="video/webm">
      </video>

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.