HTML and CSS Reference
In-Depth Information
Figure13.Providing a subtle visual effect, a pink glow, when the video element receives keyboard
or mouse focus
Firefox, Opera, and IE currently support tabbing to the video element by default, but you'll
need to add the tabindex attribute with Webkit-based browsers (Chrome and Safari):
<video controls width="480" height="270" poster="bigbuckposter.jpg"
tabindex="0">
<source src="videofile.mp4" type="video/mp4" />
<source src="videofile.webm" type="video/webm" />
</video>
All the browsers support the CSS pseudo class effect.
Applying a CSS3 Transform to a Video Element
The new CSS3 transforms are a kick to work with, especially with active content such as the
video element. There's no special processing you need in order to create media elements that
get skewed, scaled, or otherwise twisted about.
Search WWH ::




Custom Search