Legacy Knowledge Base
公開されました Jun. 30, 2025

ウェブコンテンツ記事への外部動画の埋め込みに失敗する(iframe)

Written By

Neil Cuzon

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

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • 埋め込み動画リンク(YouTubeなど)があるウェブコンテンツ記事を公開すると、このエラーが発生し、動画が表示されません:
    An Error Occurred

    Try watching this video on www.youtube.com, or enable Javascript if it is disabled in your browser.

環境

  • 四半期リリース 2024年第1四半期

解像度

  • 2024.Q1 では、<iframe>要素に関するいくつかのセキュリティ脆弱性を軽減するための新機能が追加されました:IFrameサニタイザー。
    • これは、iframe内のコンテンツに制限を設定するためにsandbox属性を使用します。
  • Iframeサニタイザーを無効化/カスタマイズするには、 システム設定 > セキュリティツール > IFrameサニタイザー にアクセスしてください。

追加情報

  • このJiraの叙事詩は、この機能を改善することを目的としている:
    • LPD-27257カスタマイズ可能なIFrameサニタイザー
Did this article resolve your issue ?

Legacy Knowledge Base