![]() |
|
|
|
|
|
||||||||||
|
| User list | Rules | You are not logged in.
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 ![]()
What's wrong in this code? May be some notes about JavaScript are necessary?
Offline
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
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
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.
Offline
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 thismediavets 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
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
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 ![]()
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
Hi!
Thank you for the new code! I changed but video is not working ![]()
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
toto-foto wrote:
But I need playing video on iPad now
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)
Offline
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
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...
AntonHow 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
And here is my tour: http://toto-foto.ru/wp-content/uploads/ … /test.html
Offline
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.
Last edited by mediavets (2012-12-15 12:52:04)
Offline
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..
Offline
Thank you!!! That's actually not my pano. My sample is here: http://toto-foto.ru/wp-content/uploads/ … /test.html![]()
I'll really think a lot before coding... becouse I'm a photographer, not a coder
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-buttonDid 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
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 ![]()
What do you mean "I have tried both and they both work.. " Do you have any tour with video playing on iPad?
Offline
toto-foto wrote:
Thank you!!! That's actually not my pano. My sample is here: http://toto-foto.ru/wp-content/uploads/ … /test.html
I'll really think a lot before coding... becouse I'm a photographer, not a coder![]()
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)
Offline
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
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?
Offline
Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
|
CHOOSING KOLOR Why choose Kolor? Which solution to choose? Download a trial Where can I buy? Education |
SOFTWARE Autopano Pro Autopano Giga Panotour Panotour Pro XnView |
ACCESSORIES Training DVD Panobook PROJECTS Paris 26 Gigapixels Yosemite 17 Gigapixels |
COMMUNITY Forums YouTube channel Google+ |
COMPANY Blog About Kolor Resellers Contact Visit us |
PRESS Press center Press review TOOLS My account |
