Skip to content

Instantly share code, notes, and snippets.

@bright-spark
Created September 8, 2022 14:27
Show Gist options
  • Save bright-spark/e37d874b78abd217c45610af08ebc9e5 to your computer and use it in GitHub Desktop.
Save bright-spark/e37d874b78abd217c45610af08ebc9e5 to your computer and use it in GitHub Desktop.

Revisions

  1. bright-spark created this gist Sep 8, 2022.
    1 change: 1 addition & 0 deletions index.html
    Original file line number Diff line number Diff line change
    @@ -0,0 +1 @@
    <iframe id="ytplayer" type="text/html" width="480" height="270" src="https://www.youtube-nocookie.com/embed/?list=PLuWIxgNYqm0lJH4UKIFrZnyfjpnRGsxdr&listType=playlist&modestbranding=1&playsinline=1&color=red&iv_load_policy=3" frameborder="0" allowfullscreen allow="accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; geolocation" loading="eager">
    13 changes: 13 additions & 0 deletions style.css
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,13 @@
    html,
    body,
    iframe {
    margin: 0;
    padding: 0;
    height: 100%;
    }

    iframe {
    display: block;
    width: 100%;
    border: none;
    }
    7 changes: 7 additions & 0 deletions youtube-no-cookie-permissive-embed.markdown
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,7 @@
    YouTube No Cookie Permissive Embed
    ----------------------------------


    A [Pen](https://codepen.io/brightsparks/pen/QWryabQ) by [Bright Sparks](https://codepen.io/brightsparks) on [CodePen](https://codepen.io).

    [License](https://codepen.io/license/pen/QWryabQ).