Multimedia Player - YouTube

Looking for WET v3.1?

As of September 23, 2014, version 3.1 of the Web Experience Toolkit is no longer supported. The source code and documentation have been moved to the wet-boew-legacy repository.

Overview

For YouTube videos, the multimedia player integrates the YouTube chromeless player which leverages the native HTML5 video tag and relies on Flash as a fallback mechanism when the HTML5 video tag is not implemented.

The multimedia player's timeline relies on the HTML5 progress element and uses a polyfill when the element is not supported.

Example

Suspect

View code
<figure class="wb-mltmd" data-wb-mltmd='{"shareUrl": "http://www.youtube.com/watch?v=9znKJqnFuuY"}'>
	<video title="Suspect">
		<source type="video/youtube" src="http://www.youtube.com/watch?v=9znKJqnFuuY" />
	</video>
	<figcaption>
		<p>Suspect</p>
	</figcaption>
</figure>
Date modified: