
krpano 1.18 Panoramic Video on an iPhone 6
krpano 1.18 Panoramic Video on a Samsung Galaxy S5 (Android Chrome)
<include url="showtext.xml" />
|
.character at the end of the attribute name and by defining there on which devices this attribute should be used. For example:
videourl.desktop="video.mp4|video.webm"
videourl.mobile.or.tablet="video-small.mp4"
.and.can be used as AND operator to check if all given devices settings are matching (like the
+character in the devices attribute).
.or.can be used as OR operator to check if one of the given devices settings is matching (like the
|character in the devices attribute).
no-prefix before a devices setting can be used to check if the given devices setting is NOT set (like the
!character in the devices attribute).
videourl="video.mp4"
videourl.mobile="video-small.mp4"
videourl.no-mobile="video.mp4"
videourl.mobile="video-small.mp4"
scale.no-mobile="1.0" (the same as: scale.desktop.or.tablet="1.0")
scale.mobile="0.5"
url.flash="plugin.swf"
url.html5="plugin.js"
width.desktop="200"
width.tablet="150"
width.mobile="100"
visible.fullscreensupport="true"
visible.no-fullscreensupport="false"
visible.html5.and.webgl.or.flash="true"
visible.html5.and.no-webgl="false"
AND,
ORand
!operators and
(...)parenthesis now.
if(var1 == 1 AND var2 == 2, ... );
if(device.mobile OR device.tablet, ... );
if(!anysetting, ... );
if((num GT 1) AND (num LT 10), ... );
Benutzerinformationen überspringen
Wohnort: Netherlands
Beruf: Krpano custom coding / Virtual Tours / Photography / Musician / Recording engineer
: https://pame.virtualtuur.com
Already in work, maybe ready for version 1.19...Still waiting for html5 multi-res object![]()
Try clearing the browser cache - there might be an old or invalid videoplayer.js in the cache for some reason (interrupted download?)...However I can't get the sample panoramic videos to load in Chrome on my Samsung S5:
...
ERROR: parsing "../../plugins/videoplayer.js" failed: SyntaxError: Unexpected token <
Thanks, but it could be even better if Apple would improve the 'Video to WebGL texture' transfer performance. Safari is currently the worst browser here (same on iOS and Mac) - Chrome, Firefox and IE are doing that way better and faster. Technically that's only a software/implementation problem inside Safari/Webkit, the hardware itself would be much faster.Really nice performance on Iphone 6! congratulations!
That's related to the iOS iPhone 'video-only-fullscreen' limitation - normally it wouldn't be possible to show a pano video in a iPhone browser not in 'fullscreen-only' mode. The krpano viewer uses a tricky solution to bypass this limitation and this allows to use the video, but not the audio. To allow audio on the iPhone, Apple would only need to change one small internal Safari setting (allowsInlineMediaPlayback), but at the moment they don't want to change that...I tried some video files It plays audio on desktop but I couldn't listen on the iphone!
Thanks for your help.
Zitat
Yes, the current 1.17 license is valid for all 1.x.x versions (from 1.17 and up).
Benutzerinformationen überspringen
Wohnort: Kobyłka, Poland
Beruf: Virtual Tours - Spherical Panoramas - Krpano developer
|
|
Quellcode |
1 |
<hotspot ... zoom="true" /> |