Hi,
the if() action has three parameters:
- the condition
- the true-case-actions
- and the false-case-action
See:
http://krpano.com/docu/actions/#if
In your code you have added four parameters and that doesn't make sense...
|
Source code
|
1
2
3
4
5
6
7
8
|
if(device.ios,
<!-- iOS Safari has a very slow 'video-to-webgl-texture' transfer, therefore use a low-res video by default -->
videointerface_play('1024x512');
,
videointerface_play('1920x960');
,
videointerface_play('2560x1440');
);
|
Decide what you want to do - either a a 1920x960 or a 2560x1440 video in the non-iOS case... or add another if for more chooses...
Best regards,
Klaus