cssAudio - Activefile-genericCSS - ActiveGeneric - ActiveHTML - ActiveImage - ActiveJS - ActiveSVG - ActiveText - Activefile-genericVideo - ActiveLovehtmlicon-new-collectionicon-personicon-teamlog-outoctocatpop-outspinnerstartv headernumbered-list123split-screen
CodePen probably won't work great in this browser. We generally only support the major desktop browsers like Chrome, Firefox, Safari, and Edge. Use this one at your own risk! If you're looking to test things, try looking at Pens/Projects in Debug View.
user profile image


  1. Awesome Pen, just what I needed for my site! Do you know why on mobile I do not get autoplay but the youtube play button that can't be tapped to play the video? Thanks! Mike

  2. So is this like a hack avoiding using the HTML5 video tag directly, or you just chose to use an iframe as the best approach? Thanks btw.

  3. Great code! Thanks. Is it possible to enable the YouTube-Video-controls? I want to add a 360-video but for best viewing experience the controls are needed.

Leave a Comment Markdown supported. Click @usernames to add to comment.

You must be logged in to comment.