From b112e9188d271da1c972599a6c6ddabf995086d4 Mon Sep 17 00:00:00 2001 From: Jordan Eldredge Date: Tue, 24 Apr 2018 22:30:52 -0700 Subject: [PATCH] Add duration to examples --- examples/minimal/index.html | 3 ++- examples/webpack/index.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/examples/minimal/index.html b/examples/minimal/index.html index d1fa1d62..b2363fec 100755 --- a/examples/minimal/index.html +++ b/examples/minimal/index.html @@ -16,7 +16,8 @@ artist: "DJ Mike Llama", title: "Llama Whippin' Intro" }, - url: "https://cdn.rawgit.com/captbaritone/webamp/43434d82/mp3/llama-2.91.mp3" + url: "https://cdn.rawgit.com/captbaritone/webamp/43434d82/mp3/llama-2.91.mp3", + duration: 5.322286 }], initialSkin: { url: "https://cdn.rawgit.com/captbaritone/webamp/43434d82/skins/base-2.91.wsz" diff --git a/examples/webpack/index.js b/examples/webpack/index.js index 3c2ed628..43b956e7 100644 --- a/examples/webpack/index.js +++ b/examples/webpack/index.js @@ -8,7 +8,8 @@ new Webamp({ title: "Llama Whippin' Intro" }, url: - "https://cdn.rawgit.com/captbaritone/webamp/43434d82/mp3/llama-2.91.mp3" + "https://cdn.rawgit.com/captbaritone/webamp/43434d82/mp3/llama-2.91.mp3", + duration: 5.322286 } ], initialSkin: {