[SOLVED] Clip embed attributes ignored

Hello,

I’ve been trying to embed a few clips to my website using the Twitch API v5 https://dev.twitch.tv/docs/v5/guides/embed#embedding-video-and-clips.
The clip itself, the height and width are used as given. But allowfullscreen and especially autoplay are ignored and default values are used.

<iframe 
  src="https://clips.twitch.tv/embed?clip=MagnificentFancyBananaHumbleLife" 
  width="340" 
  height="250" 
  frameborder="0" 
  scrolling="no" 
  allowfullscreen="false"
  autoplay="false">
</iframe>

Am I doing something wrong or is the documentation just outdated?

Thanks,
Stefan

autoplay is a query string parameter and allowfullscreen is default to false already.

Use autoplay like https://clips.twitch.tv/embed?clip=MagnificentFancyBananaHumbleLife&autoplay=false

Thanks. That worked. Should’ve read the documentation better:

Optional Query String Parameters

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.