Pen Settings



CSS Base

Vendor Prefixing

Add External Stylesheets/Pens

Any URLs added here will be added as <link>s in order, and before the CSS in the editor. You can use the CSS from another Pen by using its URL and the proper URL extension.

+ add another resource


Babel includes JSX processing.

Add External Scripts/Pens

Any URL's added here will be added as <script>s in order, and run before the JavaScript in the editor. You can use the URL of any other Pen and it will include the JavaScript from that Pen.

+ add another resource


Add Packages

Search for and use JavaScript packages from npm here. By selecting a package, an import statement will be added to the top of the JavaScript editor for this package.


Auto Save

If active, Pens will autosave every 30 seconds after being saved once.

Auto-Updating Preview

If enabled, the preview panel updates automatically as you code. If disabled, use the "Run" button to update.

Format on Save

If enabled, your code will be formatted when you actively save your Pen. Note: your code becomes un-folded during formatting.

Editor Settings

Code Indentation

Want to change your Syntax Highlighting theme, Fonts and more?

Visit your global Editor Settings.



  <!-- This is the InPlayer Script. This makes the paywall work. -->
  <script type="text/javascript" src=""></script>

  <!-- These are the card's visual settings. They affect how the card looks like. -->
  <link href=",700&display=swap" rel="stylesheet">
  <style media="screen">
    body {
      font-family: "Lato", sans-serif;
      font-size: 16px; /* This controls the font size of everything, except the price description. */

    .card {
      width: 100%;
      max-width: 350px; /* This controls the size of the card. */
      margin: 0 auto;
      cursor: pointer;
      border-radius: 5px;
      box-shadow: 0 14px 31px -20px rgba(0, 0, 0, .76); /* This controls the shadow effect of the card. */

      transition: all .2s ease-out;

    .card:hover {
      transform: translateY(-4px);

    .header {
      background: #8C1010; /* This controls the background colour of the header (#8C1010 is Red). */
      text-transform: uppercase;
      color: #fff; /* This controls the font colour of the header (#fff is White). */
      padding: 35px 20px 35px 40px;
      border-top-left-radius: 5px;
      border-top-right-radius: 5px;

    .header h3 {
      margin: 0;


    .price {
      text-align: center;
      padding: 20px;
      border-right: 1px solid rgba(0, 0, 0, 0.1);
      border-left: 1px solid rgba(0, 0, 0, 0.1);

    .black {
      background: #222; /* This controls the background colour of the content description (#222 is Black). */
      border-bottom-left-radius: 5px;
      border-bottom-right-radius: 5px;

    .black ul {
      padding-left: 0;
      margin: 0;

    .black ul li {
      list-style: none;
      color: #fff; /* This controls the font colour of the content description (#fff is White). */
      padding: 25px 40px;
      border-bottom: 2px solid rgba(255, 255, 255, 0.1);



Below, you will need to make the following changes:
1. Change the current Asset ID (72681) with the ID of your own asset (three instances).
2. Change the current Account UUID (c424a964-2c3f-47fc-b10e-b808efbde9e2) with your own Account UUID (one instance).
3. Modify the text of the card to reflect your own content. Unneeded lines can be deleted, extra lines can be added.

  <div class="card" id="asset">
    <div class="header">
    <div class="price">
      <strong style="font-size:20px; font-weight:600;">9,99€</strong>
    <div class="black">
        <li>Full access to all Livestreams</li>
        <li>Full access to the VOD replays</li>
        <li>Automatic renewal every 30 days (from the purchase day)</li>

  <div id="inplayer-72681"></div>

  <script type="text/javascript">
    var paywall = new InplayerPaywall('c424a964-2c3f-47fc-b10e-b808efbde9e2',
        id: 72681,
        options: {
          noPreview: true,
          noInject: true

    document.getElementById('asset').addEventListener("click", () => {
        asset: {
          assetId: 72681
    paywall.on('inject', () => {
    	document.getElementById('asset').style.display = "none";
    paywall.on('logout', () => {
    	document.getElementById('asset').style.display = "inline-block";