we are unfortunately still having trouble with the pano player and video. We are trying to load a new panorama after a video that was loaded through vr.attachVideo is done playing. However, even though no errors are thrown, the video just won't disappear (and the new panorama never shows). Here is what we've tried after the video has reached its end:
Trying to close the NetStream results in a SecuritySandbox error. Does anybody have an idea how the video can be removed? Is there something like an unattachVideo function? Any help would be greatly appreciated. Thanks a bunch and regards!
Code: Select all
var ns:NetStream = vr.pano.video.stream; ns.pause(); //ns.close(); vr.pano.video.connection.close(); vr.pano.video.video.clear(); // open next panorama vr.pano.openNext(pano_url2);