Loading another xml file at end of video

  • Hi,

    At the end of a video I'd like to load a different video. I've created a custom action script plugin that does some custom stuff needed and added a function that invokes loadpano(url_to_next_video_xml_file) with the new xml file for the next video. I do this instead of playvideo because it'll be a lot easier given much of the custom xml properties I've added to the xml config file. In effect I'd just like to "reload" the player with another xml file and start again.

    When the video has ended I call this function in the plugin which then calls loadpano. Nothing happens and the player becomes unresponsive, clicking icons/seek doesn't do anything and the video frame is static.

    I'm pretty sure the url is being loaded (and on the same domain). Any ideas on how to debug this issue further?

    Thanks!

  • try to use "inspect" from chrome -> here you can see what internet objects are fetched in a timeline and the http responsecodes and content -> meaning you can see, after the video ends, if there is a httprequest for your new panorama

    or "trace();" and "showlog();" in krpano to show customs values in the krpano log
    like "trace ('loading second pano');"

    https://krpano.com/docu/actions/#trace


    check the debugging section

Jetzt mitmachen!

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