Our Numbers
Out of Hours
0800 0016 006
01244 539 760
07710 096 345
Logo navigation
what a cool caption
this is a button

IFrame Player API


Test page with a YouTube video using the IFrame Player API

  • Hidden as much as I can
  • The rest fades after a second or two
  • Loop without showing recommendations, muted, playsinline
  • Can't click/hover (to keep info/controls hidden)
  • Custom padding to remove black bars
  • Fixed height for small screens

This is all possible with the usual embed, but using the API would allow us to effect video with JS, e.g play on load.