HTML and CSS Reference
Figure 5-7. A poster image for the flying bird video shown in Figure 5-6
Muting a video
The Boolean muted attribute, when added, is meant to set the sound to mute when
the video first plays (the user can click the sound icon in the controls to change this).
However, at the time of writing, major browsers have not implemented this feature.
Setting cross-origin policy
The attribute crossorigin is involved in a specification called Cross-Origin Re-
source Sharing (CORS), which determines how the video may be shared across separate
website domains. It has the values anonymous or use-credentials (an empty
string “” may also be given, which maps to anonymous ). For more information on
CORS, see the W3C resource on this specification at www.w3.org/TR/cors/ or