[FEATURE] Improve handling of online media 00/41800/27
authorFrans Saris <franssaris@gmail.com>
Sat, 5 Sep 2015 20:12:50 +0000 (22:12 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 15 Sep 2015 15:07:39 +0000 (17:07 +0200)
commite45608848a14752a94cd445253522c6372099585
tree13f5acf4a41443de3ed5d935fdc73e94ebf409c6
parent914306f76cb9e7312486e3a2308b3f0a59d49513
[FEATURE] Improve handling of online media

This patch introduces a new way of handling "online media", like
YouTube and Vimeo videos in TYPO3.
The media can be added by url and after that it can be used
like any other file.

To test with tt_content change
   $GLOBALS['TYPO3_CONF_VARS']['GFX']['imagefile_ext'])
to
   $GLOBALS['TYPO3_CONF_VARS']['SYS']['mediafile_ext'])
in typo3/sysext/frontend/Configuration/TCA/tt_content.php

To render a video in FE use <f:media file="{file}" />

File icon support based on mimetype will be added in a separate
patch #69764.

Releases: master
Resolves: #61799
Change-Id: I4b262e6fef80ba30fe627ef0ea3c55c2390c97ab
Reviewed-on: http://review.typo3.org/41800
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
28 files changed:
typo3/sysext/backend/Classes/Controller/File/CreateFolderController.php
typo3/sysext/backend/Classes/Controller/OnlineMediaController.php [new file with mode: 0644]
typo3/sysext/backend/Classes/Form/Container/InlineControlContainer.php
typo3/sysext/backend/Classes/Form/FormResultCompiler.php
typo3/sysext/backend/Configuration/Backend/Routes.php
typo3/sysext/backend/Resources/Public/JavaScript/OnlineMedia.js [new file with mode: 0644]
typo3/sysext/core/Classes/Imaging/IconRegistry.php
typo3/sysext/core/Classes/Resource/Hook/FileInfoHook.php
typo3/sysext/core/Classes/Resource/OnlineMedia/Helpers/AbstractOEmbedHelper.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/OnlineMedia/Helpers/AbstractOnlineMediaHelper.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/OnlineMedia/Helpers/OnlineMediaHelperInterface.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/OnlineMedia/Helpers/OnlineMediaHelperRegistry.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/OnlineMedia/Helpers/VimeoHelper.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/OnlineMedia/Helpers/YouTubeHelper.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/OnlineMedia/Metadata/Extractor.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/OnlineMedia/Processing/PreviewProcessing.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/Rendering/VimeoRenderer.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/Rendering/YouTubeRenderer.php [new file with mode: 0644]
typo3/sysext/core/Classes/Resource/ResourceStorage.php
typo3/sysext/core/Configuration/DefaultConfiguration.php
typo3/sysext/core/Documentation/Changelog/master/Feature-61799-ImprovedHandlingOfOnlineMedia.rst [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/Rendering/VimeoRendererTest.php [new file with mode: 0644]
typo3/sysext/core/Tests/Unit/Resource/Rendering/YouTubeRendererTest.php [new file with mode: 0644]
typo3/sysext/core/ext_localconf.php
typo3/sysext/filelist/Classes/FileList.php
typo3/sysext/frontend/Configuration/TCA/tt_content.php
typo3/sysext/lang/locallang_core.xlf
typo3/sysext/recordlist/Classes/Browser/ElementBrowser.php