3 ms·
You don't need to use an iframe. HTML5 video tags natively support multiple formats. Between WebM and H.264, you support every major browser.
by dublinben 12y ago
You don't need to use an iframe. HTML5 video tags natively support multiple formats. Between WebM and H.264, you support every major browser.
- untog 12y agoBut with no inline playing on iPhones.
- MBCook 12y agoSome of us consider that a feature. If you go inline then either your video is distracting and hard to scroll past or tiny and hard to see. Neither of those is a good experience.
- untog 12y agoNo matter how you feel, the end result is everyone using GIFs when targeting iPhone. So you end up downloading much bigger files. Doesn't seem like a win for anyone.