media-oembed-iframe.html.twig in Drupal 10
Same filename in this branch
Same filename and directory in other branches
Default theme implementation 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/modules/media/templates/media-oembed-iframe.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to display an oEmbed resource in an iframe.
- *
- * @ingroup themeable
- */
- #}
- <!DOCTYPE html>
- <html>
- <head>
- <css-placeholder token="{{ placeholder_token }}">
- </head>
- <body style="margin: 0">
- {{ media|raw }}
- </body>
- </html>