Skip to main content

AMP Pages

Google AMP pages can be used to embed Spotlightr videos as well with small adjustments to the embed code

Updated over 10 months ago

Just replace each instance of "iframe" with "amp-iframe" like this example:

<div style="position:relative; width:1px; min-width:100%; padding-bottom:56.25%"><amp-iframe allow="autoplay" class="spotlightr" allowtransparency="true" style="width:1px; min-width:100%; height: 100%; position:absolute" allowfullscreen="true" src="https://demo.cdn.spotlightr.com/watch/MTE1OTY2Mg==?fallback=true" frameborder="0" scrolling="no" name="videoPlayerframe"> </amp-iframe></div>

Did this answer your question?