media-oembed-iframe.html.twig
Same filename in this branch
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.twig
View 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>
Related topics
- Theme system overview
- Functions and templates for the user interface that themes can override.