Is there any way to change the URL of a videoplayer programmatically?
I have tried using a Controller with distincts States for each url for the same videoplayer, but it always open the url defined on the default state.
function playVideoSolucoes(controller) {
controller.activate();
const Videoplayer = symbol.nodes.Videoplayer;
Videoplayer.nodes.control.restart();
}
symbol.nodes.btn.on(“pointerdown”, (e) => {
playVideoSolucoes(symbol.controllers.controller.elements.state);
});
Thanks