My embedded Vimeo video won’t play. Why?!
Here’s the steps to reproduce:
- FF 26 on a Mac
- Mac running 10.8.5
- Video on a page shown with jQuery by clicking a button
- Video made responsive using FitVids.js
I posted to the Vimeo forums but then found this on Stack Overflow:
It seems to occur when your embed is initialy hidden.
Just add ?html5=1 to your embed url. IE8 will still take flash version. or load your video with the Youtube api. @Mr_Green
So the fix is to add this to the iframe source at the end of the url:
My only guess is Firefox is giving up rather than try to figure out if the video is HTML5 or not. I’d love to hear any ideas on this.