Apple Developer Connection
Advanced Search
Member Login Log In | Not a Member? Contact ADC

Version: 1.0

Posted: 2008-06-02

Build Requirements: Mac OS X v10.5 and later

Runtime Requirements: Mac OS X v10.5 and later

View Source Code:

Download Sample (“HTML_video_example.zip”, 14.69M)
Download Sample (“HTML_video_example.dmg”, 14.80M)



Description

Demonstrates canonical mark-up for use of video content in HTML, taking advantage of the HTML 5 <video> tag where available and falling back to use of the QuickTime plug-in otherwise. A browser that supports Ogg containers and Theora video will display the Ogg encoding, while a browser such as Safari that supports MPEG-4 and H.264 will display the MPEG-4 encoding.

Document Revision History

Date Notes
2008-06-02HTML video example with plug-in fallback



Did this document help you?
Yes: Tell us what works for you.

It’s good, but: Report typos, inaccuracies, and so forth.

It wasn’t helpful: Tell us what would have helped.