Hi Folks,
My client is reporting that on their server, the mp4 distorted hotspot video is not loading, either in Flash or on iPad. Strange seeing that on my personal test server, everything seems to work OK. It's difficult to solve a problem when you cannot reproduce the same error yourself.
ERROR: video.mp4 - loading video failed!
This is the relevant xml code in question:
Code
<krpano version="1.0.8.15">
<plugin name="soundinterface"
url="soundinterface.swf"
alturl="soundinterface.js"
preload="true"
volume="1.0"
mute="false"
keep="true"
/>
<scene name="scene_scene1" title="scene1">
</scene>
<scene name="scene_scene2" title="scene2">
<hotspot name="video"
preload="true"
zorder="2"
url="videoplayer.swf"
alturl="videoplayer.js"
videourl="video.mp4"
altvideourl="video.mp4"
posterurl="video.jpg"
ath="0" atv="-3"
distorted="true"
directionalsound="true"
range="90.0"
rangefalloff="0.7"
outofrangevolume="0.4"
scale="0.9"
pausedonstart="false"
volume="1.0"
loop="true"
onunsupported=""
onover="set(autorotate.enabled,false);"
onout="set(autorotate.enabled,true);"
onclick="togglepause"
keep="true"
/>
</scene>
Display More
Comments:
- All files (soundinterface, videoplayer, swfkrpano.js etc) are most recent build version
- All files are in the same folder so it shouldn't be a URL path issue
- The mp4 video is 7.1 MBs in size, which I know is big. I wonder if the error message is occurring because of the "preload" attribute, by the time the user has entered scene2, it is not ready for playback so the load error appears(?)
- The same hotspot (name="video") is repeated in scenes 3 & 4, although I don't think this should lead to the error
- mp4 video is H.264, AAC, Mono, 334 x 564 px, 50 FPS
- Error occurs even when viewed using Flash Player 11. I do not think the video format is the problem
- Not quite sure how soundinterface and videoplayer interact with each other
Any possible suggestions as to solving this, as ever, greatly appreciated.
Malcolm