Update examples now that 2.0 is out

This commit is contained in:
Jordan Eldredge 2025-06-18 18:01:50 -07:00
parent 1dc8c15bbb
commit d007dadd5a
5 changed files with 5 additions and 5 deletions

View file

@ -9,7 +9,7 @@
<!-- Webamp will attempt to center itself within this div -->
</div>
<script type="module">
import Webamp from "https://unpkg.com/webamp@next";
import Webamp from "https://unpkg.com/webamp@2.0.0";
const webamp = new Webamp({
initialTracks: [
{

View file

@ -18,7 +18,7 @@
* Changelog since the version you have can be found here:
* https://github.com/captbaritone/webamp/blob/master/packages/webamp/CHANGELOG.md
*/
import Webamp from "https://unpkg.com/webamp@next";
import Webamp from "https://unpkg.com/webamp@2.0.0";
/**
* Butterchurn is not being actively maintained, but it is still works

View file

@ -9,7 +9,7 @@
<!-- Webamp will attempt to center itself within this div -->
</div>
<script type="module">
import Webamp from "https://unpkg.com/webamp@next";
import Webamp from "https://unpkg.com/webamp@2.0.0";
const webamp = new Webamp({
windowLayout: {
main: {

View file

@ -9,7 +9,7 @@
<!-- Webamp will attempt to center itself within this div -->
</div>
<script type="module">
import Webamp from "https://unpkg.com/webamp@next";
import Webamp from "https://unpkg.com/webamp@2.0.0";
const webamp = new Webamp({
// Optional. An array of objects representing skins.
// These will appear in the "Options" menu under "Skins".

View file

@ -9,7 +9,7 @@
<!-- Webamp will attempt to center itself within this div -->
</div>
<script type="module">
import Webamp from "https://unpkg.com/webamp@next";
import Webamp from "https://unpkg.com/webamp@2.0.0";
const webamp = new Webamp({
/**
* Here we list three tracks. Note that the `metaData` fields and