Image-stitching and virtual tour solutions My account Updates
It is currently Fri Oct 31, 2014 9:27 am

All times are UTC + 1 hour




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Fri Apr 18, 2014 7:46 pm 
Offline
Member

Joined: Fri Dec 14, 2012 7:48 am
Posts: 33
Video opens in very small frame on iPad.
Attachment:
video.jpg
video.jpg [ 244.88 KiB | Viewed 132 times ]

And it does not depend on the initial size of video mp4 file. There is a black .jpeg file in spots folder, which should define the size of video-frame, but if to resize it up to 960x540 px, it doesn't couse any changes...
How can I increase video size on iPad or to force it to start in full screen mode?
http://virt-tour.ru/pano/tem19-ptp2a/tem19.html
Anton


Top
 Profile  
 
PostPosted: Wed Apr 23, 2014 8:40 am 
Offline
Administrator
User avatar

Joined: Tue Jan 18, 2011 4:05 pm
Posts: 1697
toto-foto wrote:
Video opens in very small frame on iPad.
Attachment:
video.jpg

And it does not depend on the initial size of video mp4 file. There is a black .jpeg file in spots folder, which should define the size of video-frame, but if to resize it up to 960x540 px, it doesn't couse any changes...
How can I increase video size on iPad or to force it to start in full screen mode?
http://virt-tour.ru/pano/tem19-ptp2a/tem19.html
Anton


You can edit the tem19_skin.xml file.

At line 1177, you'll see the following :
Code:
      set(layer[displayedStandardVideo].align   , %2);
      set(layer[displayedStandardVideo].x       , %3);
      set(layer[displayedStandardVideo].y       , %4);
      set(layer[displayedStandardVideo].width   , %5);
      set(layer[displayedStandardVideo].height  , %6);


Change it by the following :
Code:
    if (device.desktop,
      set(layer[displayedStandardVideo].align   , %2);
      set(layer[displayedStandardVideo].x       , %3);
      set(layer[displayedStandardVideo].y       , %4);
      set(layer[displayedStandardVideo].width   , %5);
      set(layer[displayedStandardVideo].height  , %6);
    ,
      set(layer[displayedStandardVideo].align   , center);
      set(layer[displayedStandardVideo].x       , 0);
      set(layer[displayedStandardVideo].y       , 0);
      set(layer[displayedStandardVideo].width   , 100%);
      set(layer[displayedStandardVideo].height  , 100%);
    );


Top
 Profile  
 
PostPosted: Wed Apr 23, 2014 9:35 am 
Offline
Member

Joined: Fri Dec 14, 2012 7:48 am
Posts: 33
Thank you very much, bdd!
Now it opens in full frame on iPad :)
But there is another problem bothering me: additional pressing PLAY button is needed now to start video... Can I get rid of Play button on iPad/iPhone? And video does not close automatically on iPhone after tapping on it :( I've to wait while it's playing to the end. In old versions i could press "rewind" and then "Done" to close the video, now nothing helps to close it prematurely on iPhone...
PTP1.8 tour: http://virt-tour.ru/pano/kolomna1v6/tem19.html
PTP2.1 tour: http://virt-tour.ru/pano/tem19-ptp2a/tem19.html
Attachment:
photo.PNG
photo.PNG [ 91.23 KiB | Viewed 101 times ]


bdd wrote:
toto-foto wrote:
Video opens in very small frame on iPad.
Attachment:
The attachment video.jpg is no longer available

And it does not depend on the initial size of video mp4 file. There is a black .jpeg file in spots folder, which should define the size of video-frame, but if to resize it up to 960x540 px, it doesn't couse any changes...
How can I increase video size on iPad or to force it to start in full screen mode?
http://virt-tour.ru/pano/tem19-ptp2a/tem19.html
Anton


You can edit the tem19_skin.xml file.

At line 1177, you'll see the following :
Code:
      set(layer[displayedStandardVideo].align   , %2);
      set(layer[displayedStandardVideo].x       , %3);
      set(layer[displayedStandardVideo].y       , %4);
      set(layer[displayedStandardVideo].width   , %5);
      set(layer[displayedStandardVideo].height  , %6);


Change it by the following :
Code:
    if (device.desktop,
      set(layer[displayedStandardVideo].align   , %2);
      set(layer[displayedStandardVideo].x       , %3);
      set(layer[displayedStandardVideo].y       , %4);
      set(layer[displayedStandardVideo].width   , %5);
      set(layer[displayedStandardVideo].height  , %6);
    ,
      set(layer[displayedStandardVideo].align   , center);
      set(layer[displayedStandardVideo].x       , 0);
      set(layer[displayedStandardVideo].y       , 0);
      set(layer[displayedStandardVideo].width   , 100%);
      set(layer[displayedStandardVideo].height  , 100%);
    );


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group