[TYPO3-v4] How to insert YouTube video in 4.7?

Stanislas Rolland typo3 at sjbr.ca
Mon Jan 23 19:46:34 CET 2012


Hi Steffen,

The new media element was developed as part of the BLE project with two 
objectives: HTML5 rendering and accessibility.

It renders HTML5 video/audio, using VideoJS for video files 
(http://videojs.com/), and falls back to flowplayer 
(http://flowplayer.org/) when the browser is not able to render the 
video/audio sources in HTML5.

The media element allows to include multiple sources in varying formats 
for the same video/audio element because HTML5-enabled browsers differ 
in their support of file formats.

For hearing impaired users, the video element allows to include a 
caption file. The caption file is rendered synchronously and the 
controls of the video player allow to show or hide the captions, and to 
keep them synchronous when the position of the video is changed (with 
button or slider). This is supported in both the HTML5 and the flowpayer 
fallback viewer.

For visually impaired users, the video element allows to include an 
audio description of the video. The audio description file is rendered 
synchronously and the controls of the video player allow to mute/unmute 
it, and to keep it synchronous when the position of the video is changed 
(with button or slider). This is supported in both the HTML5 and the 
flowpayer fallback viewer. In the case of flowlayer, the audio 
description is in fact a second hidden instance of the viewer controlled 
by the video-rendering instance. For HTML5 rendering, multiple sources 
in varying formats of the audio description may be included...

Obviously, the media element flexform would need some context-sensitive 
help to explain all this.

Perhaps it would simplify things a bit to split the element into video 
and audio elements. Audio elements have very few properties compared to 
accessible video.

Regarding backward comptibility, the video/audio files specified in 
earlier versions should be rendered as fallback files. However, I think 
that in the development process, the fact that flowplayer does not 
support YouTube and other popular video sources was overlooked while, 
obviouly, these sources will not be rendered in HTML5. Perhaps the media 
element should be rendered the way it was before when the video/audio 
source is specified as an url that does not lead to a media file.

Kind regards,
Stan


More information about the TYPO3-project-v4 mailing list