Performance: Chrome Downloads 2 Poster Images When Crossorigin Attribute (Anonymous) Present on Video
Posted on EST by Michael "Spell" Spellacy
Browser: Chrome 53.0.2785.116 (64-bit)
Operating System: OS X 10.11.5
This issue also present on most stable release of Chrome for Windows.
The poster image on a
video element appears to be downloaded twice when a
crossorgin attribute with a value of "anonymous" also exists on same element.
This attribute and value are required to get our video captioning to render from our CDN.
<video crossorigin="anonymous" preload="none" poster="https://tbcdn.talentbrew.com/company/3401/v1_0/media/case-study-microsoft.jpg" controls> <source src="https://tbcdn.talentbrew.com/company/3401/v1_0/media/case-study-microsoft.mp4" type="video/mp4"> <track label="English" kind="subtitles" srclang="en" src="https://tbcdn.talentbrew.com/company/3401/v1_0/media/case-study-microsoft.en.vtt"> </video>
Attribute: Not Present
Quality Assurance and Accessibility
All patterns, layouts, and functionality are tested against our supported browsers. We also look for accessibility issues via automated and manual testing tools. TMP is committed to the accessibility of its websites and products and strives to meet as much of WCAG 2.0 Level AA as possible. If you discover any problems with our work, please open up an issue and let us know about it or contact Michael Spellacy.