HTML, XHTML, and CSS, Sixth Edition
Microsoft would like you to embed Windows Media with the classid attribute that calls the ActiveX control. That classid attribute, because it is non-standard, causes other browser to ignore the object. While I was researching this chapter, I discovered a new, standards-compliant way of embedding Window Media files that works on all major browsers, except Safari 2. To embed Windows Media in a standards-compliant way:
Figure 18.46. If you omit the Microsoft-specific classid attribute, and add the proper MIME type, you can use just the standard object element to embed Windows Media Files.
Figure 18.47. The Windows Media Player is embedded in the page.
|
Категории