Issue Bug Closed

#70261Media viewhelper does not respect class for video elements

Ruud Silvrants 10/01/15, 11:55 updated 10/02/18, 11:28

Description

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

The output is
<iframe src="videourl" width="1200" height="450" allowfullscreen></iframe>
, without “myclass”.

Reviews 1