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:
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);