media-oembed-iframe--remote-video.html.twig in Varbase Media 8.6
Same filename and directory in other branches
Default theme implementation to display an oEmbed resource in an iframe.
File
templates/media-oembed-iframe--remote-video.html.twigView source
- {#
- /**
- * @file
- * Default theme implementation to display an oEmbed resource in an iframe.
- *
- * @ingroup themeable
- */
- #}
- <!DOCTYPE html>
- <html>
- <head>
- <style>
- iframe {
- position: absolute;
- left: 0;
- top: 0;
- right: 0;
- bottom: 0;
- margin: 0;
- width: 100%;
- height: 100%;
- }
- </style>
- <script src="{{ base_path }}{{ varbase_media_path }}/js/oembed-frame.varbase-media.{{ provider }}.js"></script>
- </head>
- <body style="margin: 0">
- {{ media|raw }}
- </body>
- </html>