random video from onvideocomplete

  • my objective - i have do that my videoplayer, after video (video1.xml) complete play all 3 videos from my project in random - video1.xml, video2.xml and video3.xml.
    i know how do it in html, but i have that it works from swf.
    xml don't understand java =(


    loop="false"
    onvideocomplete="loadpano((pano,video+(1+Math.floor(Math.random()*3)) +.xml),null,IGNOREKEEP);"

Participate now!

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