diff options
| author | Mole Shang <135e2@135e2.dev> | 2023-11-21 13:55:51 +0800 | 
|---|---|---|
| committer | Mole Shang <135e2@135e2.dev> | 2023-11-21 13:57:57 +0800 | 
| commit | 3f03df56d8e8cb3f052a0c674f18d13538b57688 (patch) | |
| tree | 63d41e5ce22cf5be24d7fa9f80cf022bc2750434 /templates | |
| parent | 3c8f655c73c4ba4706f0f7fb86a574f7c60b43c5 (diff) | |
| download | Seje2-3f03df56d8e8cb3f052a0c674f18d13538b57688.tar.gz Seje2-3f03df56d8e8cb3f052a0c674f18d13538b57688.tar.bz2 Seje2-3f03df56d8e8cb3f052a0c674f18d13538b57688.zip | |
templates/shortcodes/shikwasa: update to 2.2.0
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> | 
