Project

General

Profile

Actions

Task #85362

closed

Reduce amount of Logic in render methods of Vimeo- and YouTubeRenderer

Added by Daniel Goerz over 6 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Could have
Assignee:
Category:
-
Target version:
-
Start date:
2018-06-23
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.2
Tags:
Complexity:
easy
Sprint Focus:

Description

Currently the only public method in the Renderer Classes for YouTube and Vimeo Videos are stacked with logic, making it nnecessaryly difficult to build upon those classes (e.g. register a custom Renderer that should handle YouTube videos. You basically have to copy the whole logic over to your custom renderer in order to produce slightly different markup.

The render methods should be short and simple.

Actions

Also available in: Atom PDF