Hey guys,
I’ve used JavaScript before to “click” an element by creating a button and then using the Toolbox plugin to run some code to reference another element by ID to click it via the button. I’d like to take this same concept to play and pause Bubble’s CircleMusic player. It doesn’t seem to be working with my simple code from the previous time I did this.
Here is the JS:
document.getElementById(“musicplayer”).getElementsByTagName(“button”)[0].click();
Thanks