[TYPO3-english] YouTube videos with media element

Kay Strobach typo3 at kay-strobach.de
Wed May 16 13:37:53 CEST 2012


Hello Chris,

this must be a bug, in 4.5 this worked perfectly.

Regards
Kay

Am 16.05.2012 13:25, schrieb Chris Müller:
> 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.
> 
> Regards,
> Chris.
> 
> 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.
>>>
>>
>>
> 


-- 
http://www.kay-strobach.de - Open Source Rocks

TYPO3 .... inspiring people to share!
Get involved: http://typo3.org

Answer was useful - feel free to donate:
  -
https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=KPM9NAV73VDF2
  - https://flattr.com/profile/kaystrobach



More information about the TYPO3-english mailing list