Project

General

Profile

Actions

Bug #87911

closed

(YouTube|Vimeo)Renderer renders broken tag if additionalAttributes are defined

Added by Sascha Egerer about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
Start date:
2019-03-14
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
8
PHP Version:
7.2
Tags:
Complexity:
Is Regression:
Yes
Sprint Focus:

Description

Since the commit a32a9a746f807b14571139f0cb7caa00b8d037a5 the Youtube and Vimeo Renderes are broken if the attribute additionalAttributes is given.

Test Case:

<f:media file="{video}" additionalConfig="{loop: 0}" additionalAttributes="{poster: ''}" />

Current result:

<iframe src="https://www.youtube-nocookie.com/embed/XXX?autohide=1&amp;controls=2&amp;enablejsapi=1&amp;origin=https%3A%2F%2FXXX&amp;showinfo=0" allowfullscreen 0="poster=&quot;&quot;" allow="fullscreen"></iframe>

Expected and previous result:

<iframe src="https://www.youtube-nocookie.com/embed/XXX?autohide=1&amp;controls=2&amp;enablejsapi=1&amp;origin=https%3A%2F%2FXXX&amp;showinfo=0" allowfullscreen poster="" allow="fullscreen"></iframe>

Actions

Also available in: Atom PDF