Automatic video resolution switch

  • Hello there,

    Recently I purchased the license and I'm starting to use it. I love it.

    I wanted to ask if there is a way to automatically switch between sources depending on bandwidth or screen resolution.

    On the other hand, I'm having trouble finding examples about how to load those different sources.

    Here is some of my code:

    JS:

    Code
    embedpano({swf: this.context.baseUrl + "/libs/krpano.swf", id:"krpanoSWFObject", xml: this.context.baseUrl + "/libs/video.xml", initvars:{videoUrl:this.props.src, videoInterfaceUrl:this.context.baseUrl + "/libs/skin/videointerface.xml", videoPlayerSwfUrl:this.context.baseUrl + "/libs/plugins/videoplayer.swf", videoPlayerJsUrl:this.context.baseUrl + "/libs/plugins/videoplayer.js"}, onready: this.setVideoElement, wmode:"transparent", target:"pano", passQueryParameters:true});


    XML



    If anybody could please show me how to add or change the source depending on screen resolution and/or bandwidth..

    Thanks so much,


    Ricardo *smile*

Participate now!

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