[TYPO3-english] YouTube videos with media element

Chris Müller mueller at cyperfection.de
Wed May 16 13:25:42 CEST 2012

Hi Kay,

I pasted the YouTube share url into the field "Path or URL to fallback 
video source" and let all other field untouched but get the flash player 
in frontend. But then I got only an empty flash player. I switched to 
the render type "Native HTML Embed Element" but this has also no 
effects. I tried also the various input fields to paste the youtube url. 
Nothing happens.

Then I digged into the code.  The correct place is "Path or URL to 
fallback video source". The YouTube URL is later correctly changed from 
the youtu.be to the to the youtube/v/ syntax.

I ended in the method  tslib_content_Multimedia->render().
I got the filename (the Youtube URL) in the render() method and then it 
calls $GLOBALS['TSFE']->tmpl->getFileName(). This method only works with 
local files, so the output is empty.

So it seems urls from youtube, vimeo, etc. aren't working.


Am 15.05.2012 12:02, schrieb Kay Strobach:
> Hi,
> theoretically you can add the video url to the media field and disabling
> all players should let you show the video.
> Regards
> Kay
> Am 15.05.2012 11:57, schrieb Daniel Huf:
>> Hi Chris,
>> I didn't find more infos than this...
>> http://lists.typo3.org/pipermail/typo3-project-v4/2012-January/thread.html#3267
>> Keep us informed ;)
>> Daniel
>> On 5/15/12 11:41 AM, Chris Müller wrote:
>>> Hi,
>>> it is possible to use the new media element in TYPO3 4.7 to include
>>> YouTube videos? I didn't find a field which I can use to include the
>>> video link.
>>> Regards,
>>> Chris.

More information about the TYPO3-english mailing list