Project

General

Profile

Actions

Bug #70261

closed

Media viewhelper does not respect class for video elements

Added by Ruud Silvrants about 9 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2015-10-01
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

When using the media viewhelper the class is not set for video from youtube.
E.g.
<f:media
class="myclass"
file="{mediaElement}"
title="{mediaElement.originalResource.title}"
alt="{mediaElement.originalResource.alternative}"
width="1200c" height="450"/>

The output is <div class="video-container"><iframe src="videourl" width="1200" height="450" allowfullscreen=""></iframe></div>, without "myclass".

Actions

Also available in: Atom PDF