const display_shown = symbol.controllers.display.elements.shown;
const display_hidden = symbol.controllers.display.elements.hidden;
parent.on(“show”, () => {
// Make sure we start from fully hidden
display_hidden.reset();
// Move to the shown state
display_shown.activate();
symbol.controllers.animController.elements.animTimeline.play(1, true);
var display_shown = symbol.controllers.display.elements.shown;
var display_hidden = symbol.controllers.display.elements.hidden;
// The VideoTexture node dragged in
var DeafyoungpeoplesharehowtheylistentomusicandTV_mp4 = symbol.nodes.Deaf_youngpeoplesharehowtheylistentomusicandTV_mp4;
parent.on(“show”, parent_show);
function parent_show() {
// Make sure we start from fully hidden
display_hidden.reset();
// Move to the shown state
display_shown.activate();
// Play the video
DeafyoungpeoplesharehowtheylistentomusicandTV_mp4.start();
}
I keep getting this error message when trying to publish -
show “)” expected
But when I put in the desired ) I end up with a red cross next to that line of code and it still won’t publish!
Argh