Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
I'm trying to get a video to play automatically when the experience first loads. Why does the following line in Home.js not work?
$scope.app.view['Home'].wdg['video-1'].srv.play;
Try using the following in your JS function:
document.querySelectorAll('video')[0].play();
