ERROR: path/video.mp4 - loading video failed on iPhone/iPad

  • Hallow!

    I'm beginer in krpano language and can not solve the following problem:
    1. I have a virtual tour generated by Panatour Pro v1.8. Video is not playing on i-devices
    2. I edited the xml code as it's recommended here https://krpano.com/plugins/videoplayer/

    so now it looks like
    _________
    <hotspot name="spot0" onclick="closeallobjects();set(plugin[spot0object].visible,true);tween(plugin[spot0object].alpha, 1);plugin[spot0object].play();" url="virtualtourdata/graphics/spots/spot0.png" ath="4.74197" atv="-14.6846"/>

    <plugin name="spot0object" visible="false"
    url="virtualtourdata/graphics/videoplayer.swf"
    alturl="virtualtourdata/graphics/videoplayer.js"
    videourl="virtualtourdata/graphics/spots/object0.flv"
    altvideourl="virtualtourdata/graphics/spots/object1.mp4"
    posterurl="virtualtourdata/graphics/spots/spot0.png"
    pausedonstart="true"
    align="center"
    alpha="0"
    onclick="closespot0object();" width="960" height="540"/>
    __________

    but it doesn't work on iPhone/iPad
    ERROR: virtualtourdata/graphics/spots/object1.mp4 - loading video failed!

    What's wrong in this code? May be some initial notes about JavaScript are necessary?
    P.S. if to change object1.mp4 to m4v or webm format it's the same...

    Edited once, last by toto-foto (December 14, 2012 at 12:15 PM).

Participate now!

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