Found by WAVE Chrome extension:
- Add lang to html elements
- Do not use label for non-inputs
- Add invisible labels on video inputs, just for screen readers
Closes#552
Change-Id: I68f96fd92d33b2927da5ec52fd6c22527635c795
Now there is a new synchronous method Player.isBrowserSupported. This
will detect basic support and return a boolean. The support() method
has been renamed to probeSupport() and should only be used for
diagnostics.
Also added a plugin system to Player support testing. Now a plugin
(e.g. offline) can add extra info to the output of probeSupport().
Closes#388Closes#389
Change-Id: I313a41d9f123871272f1395aeb99c980df1f4bae
This improves the code in support.html that stringifies a JavaScript
object. Before, it assumed a specific layout. This adds a more
general stringify method that will support nested objects correctly.
Change-Id: Ie59747d0ce634ef028c4819b92fc2fd61552f724
This page was failing HTML5 validation and producing warnings on IE11
due to the script tag being outside of the head tag.
Change-Id: I22a951ed0923561c4f25a4e8df501437bb685220
Support testing is hierarchical. Player.support returns an object
mapping out the support present in various parts of the system.
This creates a shell for Player and DrmEngine, and introduces support
tests for MediaSourceEngine, ManifestParser, and DrmEngine.
This also adjusts the way support checks are done for text types, to
allow for expansion into MP4-embedded text types and other segmented
subtitle types.
Text changes related to #150 and #146
Change-Id: I707f01ba52cba6262ee89bee2c1f28d24aca4655