Project

General

Profile

Actions

Bug #105671

open

youtube shorts width/height landscape, portrait needed (after backend upload)

Added by Sabine Deeken about 13 hours ago.

Status:
New
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-11-21
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
12
PHP Version:
8.2
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

one of my editors has added a youtube short to his user_upload and the with/height gets wromg: it's landscape, not portrait. when manually I changed width and height of this video in sys_file_metadata, frontend renders perfect (I render with aspect-ratio in the news single template:

  <f:variable name="videowidth">{mediaElement.originalResource.properties.width}</f:variable>
  <f:variable name="videoheight">{mediaElement.originalResource.properties.height}</f:variable>
  <!-- width:{videowidth},height:{videoheight}-->
  <div class="mediaelement-video" style="--aspect-ratio: {videowidth}/{videoheight};">
        <f:media file="{mediaElement}" style="max-width:100%;"/>
    </div>

Could somebody have a look?

No data to display

Actions

Also available in: Atom PDF