Tutorial : A full HTML page with an animated background and audio from YouTube.

Tutorial

A full HTML page with an animated background and audio from YouTube.

Animated background.

Audio from YouTube.

Source code :

Steps :

  • Found a gif, in this case : giphy.com/gifs/art-pixel-city-NKEt9elQ5cR68
  • Found a YouTube audio loop, in this case : youtube.com/embed/OmSrYtWiASM
  • The video can also be : www.youtube-nocookie.com/embed/OmSrYtWiASM
  • Copy the content of the html in an index.html

Final result :