You are here

media-oembed-iframe--remote-video--varbase-media-hero-slider.html.twig in Media Hero Slider 9.0.x

Varbase Medi Hero slider theme implementation to display an oEmbed resource.

Display in an iframe and add the right behavior player for the provider.

File

templates/media-oembed-iframe--remote-video--varbase-media-hero-slider.html.twig
View source
  1. {#
  2. /**
  3. * @file
  4. * Varbase Medi Hero slider theme implementation to display an oEmbed resource.
  5. *
  6. * Display in an iframe and add the right behavior player for the provider.
  7. *
  8. * @ingroup themeable
  9. */
  10. #}
  11. <!DOCTYPE html>
  12. <html>
  13. <head>
  14. <css-placeholder token="{{ placeholder_token }}">
  15. <script src="{{ base_path }}{{ varbase_heroslider_media_path }}/js/oembed-frame.heroslider.{{ provider }}.js"></script>
  16. </head>
  17. <body style="margin: 0;">
  18. {{ media|raw }}
  19. </body>
  20. </html>