Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8003783
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T16:44:43+00:00 2026-06-04T16:44:43+00:00

I am autoplaying a video with HTML5 and with a fallback using vimeo. <video

  • 0

I am autoplaying a video with HTML5 and with a fallback using vimeo.

<video width="100%" height="100%" autoplay="autoplay">
    <source src="video/mp4.mp4" type="video/mp4" />
    <source src="video/ogv.theora.ogv" type="video/ogg" />
    <iframe src="http://player.vimeo.com/video/43010500?title=0&amp;byline=0&amp;portrait=0&amp;color=ffffff&amp;autoplay=1" width="100%" height="100%" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe> 
</video>

This works fine for Safari, and Firefox but there is an echo on chrome. I took out the vimeo iframe and the echo is gone, my guess is that chrome is using the html5video and the iframe video plays hidden underneath it as well.

Whats the best way to fallback to iframe if the the browser can’t play html5 video.

Thanks.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T16:44:44+00:00Added an answer on June 4, 2026 at 4:44 pm

    I’d suggest that you use something modernizr to check if html5 video is supported. You’d inject the video tag if it is supported and the iframe if not.

    http://modernizr.com/

    <div id="videoplayer"></div>
    
    
    if (Modernizr.video) {
      $('#videoplayer').html('all the video stuff you have'); // or build it and append
    } else {
      $('#videoplayer').html('iframe code');
    }
    

    I’d be remiss to not mention there are a bunch of existing plugins and tools that do this already.

    http://html5video.org/wiki/HTML5_Player_Comparison

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

At this URL I have HTML5 video and audio elements both set to autoplay
Is it possible to edit vimeo's HTML CSS attributes? I have an autoplaying video
I am trying to do a very minimalistic sample of borderless video using swfobject
I am autoplaying an html5 in a web app running in a UIWebView browser.
I have three files 1. index.htm 2. autoplay.exe (I have written this to run
We would like to display flash video files (tutorials) on our Sharepoint site. Problem
I getting the following error: Error 1 The type 'Google.GData.Extensions.EMail' is defined in an
This keeps autoplaying even when I set it to false 3 times. I don't
I have some Windows Phone 7 code that starts playing a sound using SoundEffect.FromStream.
Is there a reason a stageWebView may be autoplaying? As soon as it loads,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.