webvr automatic close video after playing

  • hi

    i use the standard webvr example files and it is working fine. i want a video to be played and after playing automatically close. so the user will get back in the startpage (flying above the cloud) and can choice another video again.

    i found that in the krpano_vr.xml i have to ad onvideocomplete="closevideo();"
    below I added the line.


    but my problem is that it is not closing the video. it is nog looping anymore (loop =false) but the video is not closing

    any idea

    hope to hear

    gr markv


    <plugin name="video" keep="true"
    url.flash="%SWFPATH%/plugins/videoplayer.swf"
    url.html5="%SWFPATH%/plugins/videoplayer.js"
    videourl.no-ios="video/video-1920x960.mp4|video/video-1920x960.webm"
    videourl.ios="video/video-1024x512.mp4"
    loop="false"
    pausedonstart="true"
    visible="false"
    panovideo="true"
    onvideocomplete="closevideo();"
    />


  • Hi klaus,

    This action is doing nothing at this moment. Or at least nothing i can notice

    What I want is to use the webvr files as where i start in the cloud. Look at a video image and the movie will start. After finishing i come back in the cloud so j can open another video

    Do i make a mistake?

    Hope to hear

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!