Ticket #754 (closed feature: fixed)
Define embed/fallback mechanism
|Reported by:||jeroen||Owned by:||jeroen|
|Cc:||zach, pablo||Forum thread:|
Since the video tag is brand new and not widely supported yet, we should think of sane defaults and fallbacks. For example, should we allow people to indeed insert a video tag?
<video width="480" height="270" poster="/player/testing/files/bunny.jpg"> <source src="/player/testing/files/bunny.mp4" type="video/mp4" /> <source src="/player/testing/files/bunny.ogg" type="video/ogg" /> <a href="/player/testing/files/bunny.mp4">Download the video</a> </video>
<a href="/player/testing/files/bunny.mp4"> <img width="480" height="270" src="/player/testing/files/bunny.jpg" /> </a>
We'd then do the following enhancements:
- If the browser supports H264, we'd insert a video tag with the H264 video.
- If the browser supports OGG, we'd insert a video tag with the OGG video.
- If the browser supports Flash 9.0.115+, we'd insert a Flash player with the H264 video.