You are not logged in.

> The forum rules have been updated. Please take a moment to read them.


#1 2012-12-14 07:54:16

toto-foto
New member
Registered: 2012-12-14
Posts: 8
Website

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 http://krpano.com/plugins/videoplayer/

so 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!

And it's the same in Safari browser on my Mac sad

What's wrong in this code? May be some notes about JavaScript are necessary?

Offline

 

#2 2012-12-14 10:55:00

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9826
Website

Re: Loading video failed on iPhone/iPad

Welcome to the forum...

As far as I know video is not supported on iDevices within iDevice/mobile-compatible (HTML/javascript) tours created with the current version of Panotour pro (V.1.8).


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#3 2012-12-14 11:36:52

toto-foto
New member
Registered: 2012-12-14
Posts: 8
Website

Re: Loading video failed on iPhone/iPad

Yes, I know, but what if to write/correct xml code manually?
There shold be some solution... couse krpano language allows to do this

mediavets wrote:

Welcome to the forum...

As far as I know video is not supported on iDevices within iDevice/mobile-compatible (HTML/javascript) tours created with the current version of Panotour pro (V.1.8).

Offline

 

#4 2012-12-14 12:02:14

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9826
Website

Re: Loading video failed on iPhone/iPad

toto-foto wrote:

Yes, I know, but what if to write/correct xml code manually?
There shold be some solution... couse krpano language allows to do this

PTP V.1.8 embeds krpano 1.0.8.14 whereas the documentation you are refering to is for the latest krpano 1.0.8.15

I think that's maybe why your code is not working.


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#5 2012-12-14 12:03:56

gkaefer
Member
From: Salzburg
Registered: 2009-06-09
Posts: 2713
Website

Re: Loading video failed on iPhone/iPad

toto-foto wrote:

Yes, I know, but what if to write/correct xml code manually?
There shold be some solution... couse krpano language allows to do this

mediavets wrote:

Welcome to the forum...

As far as I know video is not supported on iDevices within iDevice/mobile-compatible (HTML/javascript) tours created with the current version of Panotour pro (V.1.8).

krpano is based on krpano 1.0.8.15
panotour 1.8 is based on krpano 1.0.8.14
so with panotour 2.0 - which will be based on 1.0.8.15 - it will come...
Georg

Offline

 

#6 2012-12-14 12:22:05

Destiny
Moderator
From: Australia
Registered: 2010-04-27
Posts: 2420
Website

Re: Loading video failed on iPhone/iPad

Hi.. Copy and past this code to replace yours and see if it does the trick... I have provided the xy of your hotspot too...
Make sure you have the videoplayer.swf in the graphics folder and the mp4 in the folder shown below...

There is a unique difference between the to krpano players.. The content I am creating will not work at all in krpano 1.0.8.14, but it will in .15
But yours is different.. Its the old story of a previous version will work in a new version but a new version will not work in an older version..

Destiny..

  <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" videourl="virtualtourdata/graphics/spots/object0.mp4" pausedonstart="true" align="center" alpha="0" onclick="closespot0object();"/>
    <action name="closespot0object">
        if(plugin[spot0object].visible,
        tween(plugin[spot0object].alpha, 0);
        delayedcall(0.5,set(plugin[spot0object].visible,false));
        plugin[spot0object].stop();
        );
    </action>
    <action name="hidepanospotsaction">
        set(hotspot[spot0].visible, false);
    </action>
    <action name="showpanospotsaction">
        set(hotspot[spot0].visible, true);
    </action>
    <!-- close all hotspots -->
    <action name="closeallobjects">
        closespot0object();
    </action>


Virtual Tours and 3D/360 Object/Product Photographer - Our aim is to create a 3D/360 Virtual Tour Shop/Store with links to 3D/360 degree products. My gear, VR Drive II - D90 - Nikon 10.5 fisheye - Nikon D800 with Nikon-Nikkor 14-24 - NOVOFLEX Magic Balance - Acratech GP Ball-head - Nodal Ninja 4 + RD-16 Rotor - Manfrotto 190CXPRO4 Carbon Fiber Tripod smile smile

Offline

 

#7 2012-12-15 10:21:47

toto-foto
New member
Registered: 2012-12-14
Posts: 8
Website

Re: Loading video failed on iPhone/iPad

Thank you, Georg!
I know about PT 2.0. We are waiting for it for so long... But I need playing video on iPad now smile
May be it's reasonable to study gardengnomes Pano2VR and to rebuild my tour on this platform?
As I understand it allows video on iPads...
Anton

krpano is based on krpano 1.0.8.15
panotour 1.8 is based on krpano 1.0.8.14
so with panotour 2.0 - which will be based on 1.0.8.15 - it will come...
Georg

Offline

 

#8 2012-12-15 10:35:44

toto-foto
New member
Registered: 2012-12-14
Posts: 8
Website

Re: Loading video failed on iPhone/iPad

Hi!
Thank you for the new code! I changed but video is not working sad
videoplayer.swf is on it's place and the file also...
May be my videoplayer.swf is a new one? I mean 1.0.8.15... and I need to find the previous version?
And I don't see videoplayer.js in this code... Is'n t it nesessory for iPad?
Anton

Destiny wrote:

Hi.. Copy and past this code to replace yours and see if it does the trick... I have provided the xy of your hotspot too...
Make sure you have the videoplayer.swf in the graphics folder and the mp4 in the folder shown below...

There is a unique difference between the to krpano players.. The content I am creating will not work at all in krpano 1.0.8.14, but it will in .15
But yours is different.. Its the old story of a previous version will work in a new version but a new version will not work in an older version..

Destiny..

  <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" videourl="virtualtourdata/graphics/spots/object0.mp4" pausedonstart="true" align="center" alpha="0" onclick="closespot0object();"/>
    <action name="closespot0object">
        if(plugin[spot0object].visible,
        tween(plugin[spot0object].alpha, 0);
        delayedcall(0.5,set(plugin[spot0object].visible,false));
        plugin[spot0object].stop();
        );
    </action>
    <action name="hidepanospotsaction">
        set(hotspot[spot0].visible, false);
    </action>
    <action name="showpanospotsaction">
        set(hotspot[spot0].visible, true);
    </action>
    <!-- close all hotspots -->
    <action name="closeallobjects">
        closespot0object();
    </action>

Offline

 

#9 2012-12-15 11:11:33

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9826
Website

Re: Loading video failed on iPhone/iPad

toto-foto wrote:

But I need playing video on iPad now smile
May be it's reasonable to study gardengnomes Pano2VR and to rebuild my tour on this platform?
As I understand it allows video on iPads...
Anton

How do you want to use/present video on the iPad in a tour?

Even with the latest krpano, as I understand it there are major limitations on the display of video in a tour on the iDevices compared to Flash platforms.

http://krpano.com/plugins/videoplayer/#html5

Last edited by mediavets (2012-12-15 11:13:05)


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#10 2012-12-15 12:08:25

toto-foto
New member
Registered: 2012-12-14
Posts: 8
Website

Re: Loading video failed on iPhone/iPad

Just play it in the frame. You may see the sample of what i need here:

http://bdevent.ru/panoramas/rzd-expo/kursk/tour.html

Just enter the cabine and press red video-button

mediavets wrote:

toto-foto wrote:

But I need playing video on iPad now smile
May be it's reasonable to study gardengnomes Pano2VR and to rebuild my tour on this platform?
As I understand it allows video on iPads...
Anton

How do you want to use/present video on the iPad in a tour?

Even with the latest krpano, as I understand it there are major limitations on the display of video in a tour on the iDevices compared to Flash platforms.

http://krpano.com/plugins/videoplayer/#html5

Offline

 

#11 2012-12-15 12:12:40

toto-foto
New member
Registered: 2012-12-14
Posts: 8
Website

Re: Loading video failed on iPhone/iPad

Offline

 

#12 2012-12-15 12:30:27

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9826
Website

Re: Loading video failed on iPhone/iPad

toto-foto wrote:

Just play it in the frame. You may see the sample of what i need here:

http://bdevent.ru/panoramas/rzd-expo/kursk/tour.html

Just enter the cabine and press red video-button

Did you create this tour? IPerhaps not because it obviously involves a lot of very customised hand coding.

If you view the iDevice-compatible version of this tour you will find there are no links to video! - see screenshot below.

I don't think it would be possible to produce this look and interaction using krpano for display on an iPad.

For a start the documentation states that:

"On the iPhone the Video will only play in Fullscreen. When starting to play the video will switch to Fullscreen and when the video will be stopped it will switch back to normal view."

So before you spend/waste more time attempting to do so, I suggest you ask whether it's possible on the krpano forum where there will be more skilled hand coders than on this forum.


Uploaded Images

Last edited by mediavets (2012-12-15 12:52:04)


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#13 2012-12-15 12:35:54

Destiny
Moderator
From: Australia
Registered: 2010-04-27
Posts: 2420
Website

Re: Loading video failed on iPhone/iPad

Hi..

Just be aware, when you play a video using an iDevice, partially the iPad, the video will open inside a new window.. You do not need a player, since its inbuilt so you do not need any js... Its possible that the newer krpano version might be an issue but I really doubt that.. I have tried both and they both work..

Question.. How big is your video file and how big is the video frame.. Also, check to make sure you have used the correct CODEC.. you can find that on the Apple web site..

Destiny..


Virtual Tours and 3D/360 Object/Product Photographer - Our aim is to create a 3D/360 Virtual Tour Shop/Store with links to 3D/360 degree products. My gear, VR Drive II - D90 - Nikon 10.5 fisheye - Nikon D800 with Nikon-Nikkor 14-24 - NOVOFLEX Magic Balance - Acratech GP Ball-head - Nodal Ninja 4 + RD-16 Rotor - Manfrotto 190CXPRO4 Carbon Fiber Tripod smile smile

Offline

 

#14 2012-12-15 12:51:57

toto-foto
New member
Registered: 2012-12-14
Posts: 8
Website

Re: Loading video failed on iPhone/iPad

Thank you!!! That's actually not my pano. My sample is here: http://toto-foto.ru/wp-content/uploads/ … /test.html
smile
I'll really think a lot before coding... becouse I'm a photographer, not a coder smile
The task seems to be not so easy as at seems at a first glance...

mediavets wrote:

toto-foto wrote:

Just play it in the frame. You may see the sample of what i need here:

http://bdevent.ru/panoramas/rzd-expo/kursk/tour.html

Just enter the cabine and press red video-button

Did you create this tour? IPerhaps not because it obviously involves a lot of very customised hand coding.

I don't think it would be possible to produce this look and interaction using krpano for display on an iPad.

For a start the documentation states that:

"On the iPhone the Video will only play in Fullscreen. When starting to play the video will switch to Fullscreen and when the video will be stopped it will switch back to normal view."

So before you spend/waste more time attempting to do so, I suggest you ask whether it's possible on the krpano forum where there will be more skilled hand coders than on this forum.

Offline

 

#15 2012-12-15 13:06:56

toto-foto
New member
Registered: 2012-12-14
Posts: 8
Website

Re: Loading video failed on iPhone/iPad

Destiny wrote:

Hi..

Just be aware, when you play a video using an iDevice, partially the iPad, the video will open inside a new window.. You do not need a player, since its inbuilt so you do not need any js... Its possible that the newer krpano version might be an issue but I really doubt that.. I have tried both and they both work..

Question.. How big is your video file and how big is the video frame.. Also, check to make sure you have used the correct CODEC.. you can find that on the Apple web site..

Destiny..

My video is not large. Resolution 960x540 px, size 2-4 Mb
I tried different codecs and file formats. mp4, m4v, webm...
Miro Video Converter (recommended by klausesser) makes video especially for Apple iPad, iPhone etc...
And this video does not open as well sad

What do you mean  "I have tried both and they both work.. " Do you have any tour with video playing on iPad?

Offline

 

#16 2012-12-15 13:14:29

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9826
Website

Re: Loading video failed on iPhone/iPad

toto-foto wrote:

Thank you!!! That's actually not my pano. My sample is here: http://toto-foto.ru/wp-content/uploads/ … /test.html
smile
I'll really think a lot before coding... becouse I'm a photographer, not a coder smile
The task seems to be not so easy as at seems at a first glance...

krpano undoubtedly offers the most sophisticated panorama viewers available today , but hand cosing for them is not for the faint hearted and very few people, and they probably consider themselves programmers as much as photographers,  have yet developed advanced skills.

And that's why Kolor developed Panotour and Panotour Pro. To make the core functionality of krpano available to 'the rest of us' via a GUI.

All today's leading panorama viewers - Flash Panorama Player,  Pano2VR and krpano were originally developed for Flash-enabled platforms. Today krpano and Pano2VR also offer support for some non-Flash enabled platforms, the most important of which are iDevices and Android devices. In many ways these 'hot' platforms represent a signficant backwards step in terms of capability, compared to today's laptops and desktops, with their small typically low resolution displays, their limited CPU performance, limited graphics processor performance, limited memory capacity and comparatively unsophisticated operating sustems and memory management.

The display of virtual tours comprising panoramic images, user interaction, and video and audio content is a real challenge given the currently limited capabilities of these 'hot' idevice and Android platforms which are still in the realtively early stages of development compared to better established laptop and desktop hardware and software technologies.

As far as I know none of the leading panorama viewers are currently capable of delivering the same capabilities on iDevices and Android platdorms as they can on the better established Flash-enable desktop and laptop platforms.

This is rather frustrating for virtual tour developers not least because it's difficult to explain to clients who, of course, ask for their virtual tours to be viewable on the fashionable 'hot' iDevice and Android platforms.

We can expect things to improve as hardware and software develops - but today we have to live with the current limitations as best we can.

Last edited by mediavets (2012-12-15 13:18:31)


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

#17 2012-12-15 14:33:30

mediavets
Moderator
From: Isleham, Cambridgeshire, UK.
Registered: 2007-11-14
Posts: 9826
Website

Re: Loading video failed on iPhone/iPad

toto-foto wrote:

My video is not large. Resolution 960x540 px, size 2-4 Mb
I tried different codecs and file formats. mp4, m4v, webm...
Miro Video Converter (recommended by klausesser) makes video especially for Apple iPad, iPhone etc...
And this video does not open as well sad

What do you mean  "I have tried both and they both work.. " Do you have any tour with video playing on iPad?

Perhaps Destiny was talking about was linking to a video file 'outside' the tour - via a URL link from a hotspot?


Uploaded Images


Andrew Stephens
Nikon D40, Nikkor 10.5mm fisheye, Sigma 8mm f3.5 fisheye, Nikkor 18-55/50/35mm lenses, Nodal Ninja 5 Lite, Nodal Ninja 4 with R-D16, Agno's MrotatorTCS short.
Nikon P5100, CP5000, CP995, FC-E8, WC-E63,WC-E68, TC-E2, Kaidan Kiwi 995, Bophoto pano bracket, Agno's MrotatorA.
Merlin/Orion robotic pano head + Papywizard on Nokia 770/N800/N810 and Windows 8/XP/2K.

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson