[TYPO3-english] YouTube videos with media element
mueller at cyperfection.de
Wed May 16 13:25:42 CEST 2012
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.
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:
> theoretically you can add the video url to the media field and disabling
> all players should let you show the video.
> Am 15.05.2012 11:57, schrieb Daniel Huf:
>> Hi Chris,
>> I didn't find more infos than this...
>> Keep us informed ;)
>> On 5/15/12 11:41 AM, Chris Müller wrote:
>>> 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.
More information about the TYPO3-english