Problem with videoplayer set to keep "true"

  • My project consists of a main "standard" panorama from where i link to several video panoramas. To avoid setting up the video plugin in every video-scene, I integrated it in the main scene and set keep="true". Works so far, but after jumping to the second video-panorama a wrong video is played. Is there a method to clear the videosources or to reset the player?

  • Ok! Apparently the videoplayer can be "cleared " with:

    plugin[video].playvideo();

    Afterwards sending a new video to the plugin with:
    plugin[video].playvideo(get(vs.videourl), get(vs.posterurl), get(plugin[video].pausedonstart), 0);

    plugin[video].play();

    works as expected.
    Thanks for listening *smile*

  • This solution seems to work on desktop pc. But on iOS devices it leads to caching problems and again a wrong (cached) video is played.
    So I decided to go back and initialize a new video plugin in every scene (and omit keep=true)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!