如何获得更好的图像而不是仍然由TYPO3渲染的youtube?

如何获得更好的图像而不是仍然由TYPO3渲染的youtube?,youtube,typo3,typo3-9.x,ext-mask,Youtube,Typo3,Typo3 9.x,Ext Mask,使用TYPO3 9.5.21,我有一个掩码内容元素,可以创建视频卡列表。当在TYPO3中添加视频url并选择tex媒体时,将创建卡图像。 它是由打字3处理的。为了有一个更好更清晰的图像,如果可以选择一个比视频链接更清晰的图像就更好了。而不是从youtube屏幕创建的图像。如何做到这一点? 我已经在ext_fluid_内容中覆盖了video.html 在Mask CE中添加图像字段没有问题,但如何获取视频url(通过文本\媒体添加)?) 掩码代码: <!-- sh video_card

使用TYPO3 9.5.21,我有一个掩码内容元素,可以创建视频卡列表。当在TYPO3中添加视频url并选择tex媒体时,将创建卡图像。 它是由打字3处理的。为了有一个更好更清晰的图像,如果可以选择一个比视频链接更清晰的图像就更好了。而不是从youtube屏幕创建的图像。如何做到这一点? 我已经在ext_fluid_内容中覆盖了video.html

在Mask CE中添加图像字段没有问题,但如何获取视频url(通过文本\媒体添加)?)

掩码代码:

<!-- sh video_card element -->


<div class="sh_video_card_wrap">
    <div class="row small-up-1 medium-up-3 large-up-3 small-collapse">
<f:if condition="{data.tx_mask_sh_video_show}">

    
    <!-- de losse kaart elemeneten hier -->

<f:for each="{data.tx_mask_sh_video_show}" as="data_item">


<f:if condition="{data_item.tx_mask_sh_video_content}">
<div class="column">
<div class="sh_video_card shade">
    

<!-- de video hier in te voegen  -->
<div class="sh_video_card-image-overlay">
<f:for each="{data_item.tx_mask_sh_video_content}" as="data_item_item">
<f:cObject typoscriptObjectPath="lib.tx_mask.content">{data_item_item.uid}</f:cObject>
</f:for>
</f:if>
</div>

<!-- video title -->

<div class="sh_video_header_title">
    <h3>
<f:if condition="{data_item.tx_mask_sh_video_sub_title}">
{data_item.tx_mask_sh_video_sub_title}
</f:if>
</h3>
</div>
<!-- video sub title -->

<div class="sh_video_header_subtitle">
<f:if condition="{data_item.tx_mask_sh_video_title}">
{data_item.tx_mask_sh_video_title}
</f:if>
</div>

<div class="sh_video_gutter"></div>

<!-- video rich tekst omshrijving  -->
<div class="sh_video_card_content">
    <f:if condition="{data_item.tx_mask_sh_video_omschrijving}">
<f:format.html parseFuncTSPath="lib.parseFunc_RTE">{data_item.tx_mask_sh_video_omschrijving}</f:format.html>
</f:if>
</div>

</div>
</div>
</f:for>
</f:if>
</div>
</div>
<!-- end of card element -->

{data\u item\u item.uid}
{data_item.tx_mask_sh_video_sub_title}
{data_item.tx_mask_sh_video_title}
{data_item.tx_mask_sh_video_omschrijving}

在TYPO3 9.5.22中,保存用于此掩码的Video.html文件覆盖的粘贴箱

代码中最重要的部分是
{data\u item\u item.uid}
。在那里生成视频。很高兴看到视频本身的流体模板。我也可以发布。我在TYPO3 9.5中为fluid_styled_content Style/Video.html做了一个文件覆盖,这个文件很有效。现在我升级到TYPO3 10,我无法让它覆盖文件。它仍然有效,但没有我想要的那么好。所以,这就是为什么我决定用youtube url和图像上传测试Mask CE。这在TYPO3 10中非常有效。为视频制作了一个粘贴箱。html无法在TYPO3 10中覆盖它