media-oembed-iframe.html.twig

Same filename in this branch
  1. 9 core/themes/stable/templates/content/media-oembed-iframe.html.twig
  2. 9 core/modules/media/templates/media-oembed-iframe.html.twig
Same filename in other branches
  1. 8.9.x core/themes/stable/templates/content/media-oembed-iframe.html.twig
  2. 8.9.x core/modules/media/templates/media-oembed-iframe.html.twig
  3. 10 core/themes/stable9/templates/content/media-oembed-iframe.html.twig
  4. 10 core/modules/media/templates/media-oembed-iframe.html.twig
  5. 11.x core/themes/stable9/templates/content/media-oembed-iframe.html.twig
  6. 11.x core/modules/media/templates/media-oembed-iframe.html.twig

Theme override to display an oEmbed resource in an iframe.

1 theme call to media-oembed-iframe.html.twig
OEmbedIframeController::render in core/modules/media/src/Controller/OEmbedIframeController.php
Renders an oEmbed resource.

File

core/themes/stable9/templates/content/media-oembed-iframe.html.twig

View source
  1. {#
  2. /**
  3. * @file
  4. * Theme override to display an oEmbed resource in an iframe.
  5. */
  6. #}
  7. <!DOCTYPE html>
  8. <html>
  9. <head>
  10. <css-placeholder token="{{ placeholder_token }}">
  11. </head>
  12. <body style="margin: 0">
  13. {{ media|raw }}
  14. </body>
  15. </html>

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.