Hello everyone.
I’m trying to make a plane (linked to a video loaded in media library and imported to the hierarchy) start a video when it is shown.
I’ve try to manage the show(true) in the timeline and added this peace of code in my show script:
const display_shown = symbol.controllers.display.elements.shown;
const display_hidden = symbol.controllers.display.elements.hidden;
const Video = symbol.nodes.Video;
const Plane_video = symbol.nodes.Plane_video;
if (Plane_video.visible(true)) {
Video.start();
};
Seems that is just showing the plane with the video at minute 0:00 without starting, can anyone please help?