Controlling pinned video through Javascript API

Q&A about the latest versions
Post Reply
LProbert
Posts: 92
Joined: Thu May 21, 2020 11:53 am

I have a pinned video that I want to silence and pause when a popup opens above it. I am using the JS Api throughout with success to pause the main pano video, and to set variables. But for this it doesn't seem to work. I think the JS Api methods for Media elements are only for Audio. Is this correct?

Code: Select all

parent.pano.setMediaVisibility("auditorium_screen_media",1);
parent.pano.playSound("auditorium_screen_media");
Post Reply