changing URL (using JavaScript) how best to change the ID??
-
https://stroudvoices.co.uk/search18
WP 3.8.1 + Compact Audio Player + (CJT & Custom Field (JavaScript))
https://www.tipsandtricks-hq.com/wordpress-audio-music-player-plugin-4556
I set up a page with tracks in HTML using the generated DIV and JavaScript that the player generates.
The script changes the URL which happily plays as intended but once played the first URL is registered with the ID and that is what plays until the page is re-loaded.
My question is: anyone know how the ID is constructed & is it subject to a checksum? (eg id=”btnplay_5336b150ded84″ – the number appear several times.)
I can change the number much as I change the URL but am looking for guidance on any syntax/rules for generating the number.Player works fine (many thanx to Author) on all platforms tested for.
- The topic ‘changing URL (using JavaScript) how best to change the ID??’ is closed to new replies.