diff options
Diffstat (limited to 'templates')
| -rw-r--r-- | templates/shortcodes/shikwasa.html | 30 | 
1 files changed, 16 insertions, 14 deletions
| diff --git a/templates/shortcodes/shikwasa.html b/templates/shortcodes/shikwasa.html index d29238d..10ac1d7 100644 --- a/templates/shortcodes/shikwasa.html +++ b/templates/shortcodes/shikwasa.html @@ -1,16 +1,18 @@  <div class="podcast"> -    <script> -        const player = new Shikwasa({ -            container: () => document.querySelector('.podcast'), -            audio: { -                title: '{{subtitle}}', -                artist: '{{author}}', -                cover: '{{image}}', -                src: '{{media}}', -            }, -            fixed: { -                type: 'static', -            }, -        }); -    </script> +  <link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/shikwasa@2.2.0/dist/style.css"/> +  <script src="https://cdn.jsdelivr.net/npm/shikwasa@2.2.0/dist/shikwasa.min.js"></script> +  <script> +    const player = new Shikwasa.Player({ +      container: () => document.querySelector(".podcast"), +      audio: { +        title: "{{subtitle}}", +        artist: "{{author}}", +        cover: "{{image}}", +        src: "{{media}}", +      }, +      fixed: { +        type: "static", +      }, +    }); +  </script>  </div> | 
