Project

General

Profile

Actions

Feature #90680

closed

Facebook Videos

Added by Robert von Hackwitz about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Could have
Assignee:
-
Category:
Content Rendering
Start date:
2020-03-08
Due date:
% Done:

0%

Estimated time:
PHP Version:
7.2
Tags:
Complexity:
Sprint Focus:

Description

It would be useful to have the possibility to insert facebook videos in addition to those of Youtube and Vimeo.

I developed an extension for my projects (called fal_extra), but wanting to include this functionality in the TYPO3 core these are the changes to make:

- In typo3/sysext/core/Configuration/DefaultConfiguration.php :
 - modify'SYS' => 'mediafile_ext' to
'mediafile_ext' => 'gif,jpg,jpeg,bmp,png,pdf,svg,ai,mp3,wav,mp4,ogg,flac,opus,webm,youtube,vimeo,facebook'
 - add in 'fal' => 'onlineMediaHelpers' 'facebook' => \TYPO3\CMS\Core\Resource\OnlineMedia\Helpers\FacebookHelper::class
 - in 'FileInfo' add 'vimeo' => 'video/facebook',

Then add files attached here to sysext/core/Resource/OnlineMedia/Helpers and sysext/core/Resource/Rendering


Files

FacebookHelper.php (4.99 KB) FacebookHelper.php Robert von Hackwitz, 2020-03-08 12:05
FacebookRenderer.php (8.31 KB) FacebookRenderer.php Robert von Hackwitz, 2020-03-08 12:05
Actions

Also available in: Atom PDF