legacy-knowledge-base
公開されました Jun. 30, 2025

コンテンツ表示ウィジェットで動画が正しく表示されない

written-by

Kanchan Bisht

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

legacy-article

learn-legacy-article-disclaimer-text

問題

  • ウィジェットに動画を添付しても表示できない。
  • 再現するための手順
    1) 新規サイトを作成
    2) 名前:Video
    で空白のページを作成 3) Content Display ウィジェットをドロップします。
    4) このウィジェットにビデオファイルを添付する。主に、Documents & Media portlet
    に既にあるビデオを添付する。 期待される動作: ユーザーは、ビデオを添付した後、そのビデオを見ることができるはずです。
    観察された動作: ウィジェットは空白になり、ユーザーはビデオを見ることができない。

Environment

  • Liferay DXP 7.4

解決策

  • Content Displayにはファイルタイプをプレビューする特定のロジックが含まれていないため、観測された動作はLiferay DXPの意図する動作です。 ユーザーがコンテンツ表示を特定のコンテンツ文書にマッピングしたら、それを表示するためのTemplateを選択する必要があります。
    • Liferay は D&M の基本的なテンプレートしか提供しておらず、そのため、ユーザーは動画をプレビューするために Template を作成する必要があります。

追加情報

  • この件に関してさらに情報が必要な場合は、サポートチケットを作成してください。
did-this-article-resolve-your-issue

legacy-knowledge-base