Same video in different places

  • I would like to play one video in two seperate places at the same time.
    At the moment I load the video two times in different videoplayer plugin nodes. The first (name=video) is used for a video panorama, the second (name=videobar) is used as an overview video of the whole 360° scene, so it is just a flat video placed on the background of the stage.

    Is there a way to reference the video from the first plugin in the second videoplugin to avoid the double loading?

    At the moment I also have a second issue. The performance is not good when both videos are played at the same time. Are there typical pitfalls I should avoid when I play two videos at the same time?

    In general i try to create something similiar to this video

    Following are the relevant pieces of my code.

    <plugin
    name="video"
    url="plugins/videoplayer.swf"
    videourl="imp.mp4"
    pausedonstart="false"
    loop="false"
    ... />

    <image>
    <sphere url="plugin:video" />
    </image>

    <plugin
    name="videobar"
    parent="BGLAYER"
    url="plugins\videoplayer.swf"
    videourl="imp.mp4"
    align="bottom" x="0" y="-13%"
    width="100%"
    height="prop"
    pausedonstart="false"
    loop="false"
    ...
    />

Participate now!

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