Actions
Bug #105671
openyoutube shorts width/height landscape, portrait needed (after backend upload)
Status:
Needs Feedback
Priority:
Should have
Assignee:
-
Category:
File Abstraction Layer (FAL)
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?
Updated by Riccardo De Contardi 17 days ago
Is this related? #86950 or a different issue?
Updated by Garvin Hicking 4 days ago
- Category set to File Abstraction Layer (FAL)
- Status changed from New to Needs Feedback
Could you maybe give the youtube URL that you used for better reproducing this?
Actions