From 8a9c68ab355533e6c7e7a7f0668bba0bde53d3d9 Mon Sep 17 00:00:00 2001 From: Mark Boas Date: Tue, 28 Nov 2023 12:48:45 +0100 Subject: [PATCH] Update hyperaudio-lite.js (2.1.7) --- wp-hyperaudio/js/hyperaudio-lite.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wp-hyperaudio/js/hyperaudio-lite.js b/wp-hyperaudio/js/hyperaudio-lite.js index 1edbf9e..ac771f0 100644 --- a/wp-hyperaudio/js/hyperaudio-lite.js +++ b/wp-hyperaudio/js/hyperaudio-lite.js @@ -1,5 +1,5 @@ /*! (C) The Hyperaudio Project. MIT @license: en.wikipedia.org/wiki/MIT_License. */ -/*! Version 2.1.6 */ +/*! Version 2.1.7 */ 'use strict'; @@ -183,7 +183,7 @@ function spotifyPlayer(instance) { window.onSpotifyIframeApiReady = IFrameAPI => { - const element = document.getElementById('hyperplayer'); + const element = document.getElementById(instance.player.id); const extractEpisodeID = (url) => { const match = url.match(/episode\/(.+)$/);