Search found 85 matches

by ffurger
Tue Jul 28, 2020 2:18 pm
Forum: Pano2VR general
Topic: fullscreen mode sort of ... doesn't work
Replies: 0
Views: 1542

fullscreen mode sort of ... doesn't work

I am testing the fullscreen mode on a MacBook Pro 2019 and on an iPad Air 3d generation. MacBook Pro: fullscreen does work, but my control panel strip at the screen bottom disappears. I thought I could simply set its z-index to a very high value, but that doesn't make any difference iPad: same issue...
by ffurger
Thu Jun 25, 2020 5:42 pm
Forum: Pano2VR general
Topic: JavaScript API playSound() issue
Replies: 14
Views: 2999

Re: JavaScript API playSound() issue

@christoph - that’s good news ... and now for the harder question - when would that be?
by ffurger
Thu Jun 18, 2020 1:24 pm
Forum: Pano2VR general
Topic: JavaScript API playSound() issue
Replies: 14
Views: 2999

Re: JavaScript API playSound() issue

Hi Christoph, It really would be great if your pano.play() function would return a promise. As it stands now, there is simply no way for me as developer to check if a browser allows autoplay or not. The fact that your API does this internally is only a partial solution. I think it is quite important...
by ffurger
Tue May 12, 2020 11:47 am
Forum: Pano2VR general
Topic: pano.player() API bug?
Replies: 1
Views: 202

pano.player() API bug?

I have included a sound in my project and set the loop parameter to 0. Now, it looks as if pano2VR with loop = 0 would start playing immediately upon page load. However, as far as I can tell browsers don't allow this behavior (in the past it has been abused by advertisers). A user must manually hit ...
by ffurger
Mon Feb 24, 2020 2:49 pm
Forum: Pano2VR general
Topic: JavaScript API playSound() issue
Replies: 14
Views: 2999

Re: JavaScript API playSound() issue

Thank you Christoph, I'll give it a try.

Best,
Franco
by ffurger
Fri Feb 21, 2020 11:44 am
Forum: Pano2VR general
Topic: JavaScript API playSound() issue
Replies: 14
Views: 2999

Re: JavaScript API playSound() issue

Thank you Christoph, I kind of suspected that. Now, could you tell me how to handle this Promise Rejection coming from the soundPlayer: Unhandled Promise Rejection: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied ...
by ffurger
Wed Feb 19, 2020 3:14 pm
Forum: Pano2VR general
Topic: JavaScript API playSound() issue
Replies: 14
Views: 2999

Re: JavaScript API playSound() issue

Hi Hopki, sorry for this late reply. My understanding is that for most browsers, the user can decide to allow autoplay when a page loads. By default, autoplay is turned off in the browser settings, but it can be changed. In the case of my application, I wanted to autoplay (NOT merely play on touch) ...
by ffurger
Thu Jan 30, 2020 5:15 pm
Forum: Pano2VR general
Topic: JavaScript API playSound() issue
Replies: 14
Views: 2999

Re: JavaScript API playSound() issue

Hopki, Sorry for this late reply, but I have been doing a lot of testing around this issue. Here is what I found out. But first, a few words about my plan: - Yes, most browsers by default don't allow autoplay, and that's fine. I have no intention to somehow bypass this setting. - I have some panos w...
by ffurger
Fri Jan 24, 2020 9:18 am
Forum: Pano2VR general
Topic: JavaScript API playSound() issue
Replies: 14
Views: 2999

Re: JavaScript API playSound() issue

well, what I mean is that for some panos I'd like the sound to start playing immediately upon page loading, without user intervention. Some users don't like that and prevent audio from start playing automatically. That's why when this is the case the JavaScript engine throws an error. Normally, in J...
by ffurger
Thu Jan 23, 2020 3:53 pm
Forum: Pano2VR general
Topic: JavaScript API playSound() issue
Replies: 14
Views: 2999

JavaScript API playSound() issue

Most browsers these days prevent audio from playing automatically. This means that if a page tries to start playing without user intervention the browser will throw an error. In theory this is not a problem, because the developer can catch the error and take an appropriate measure. Unfortunately, th...
by ffurger
Fri Nov 29, 2019 3:04 pm
Forum: Pano2VR general
Topic: Clicking on a box doesn't work on iPad
Replies: 0
Views: 2344

Clicking on a box doesn't work on iPad

I am using the following HTML code in a text box to trigger an action by Javascript: <a href="" id="#Hotspot" style="display: block;width: 100%;height: 100%; color: rgba(255,255,255,0);">Tooltip</a> This code is not visible to the user. My event handler is as simple as: $("#Hotspot").on("click", fun...
by ffurger
Wed Aug 07, 2019 2:41 pm
Forum: Pano2VR general
Topic: audio API issue
Replies: 1
Views: 383

Re: audio API issue

Never mind - I think I solved the problem, even though I am not entirely sure what the problem actually was :D
I think it had something to do with JS closures...
by ffurger
Wed Aug 07, 2019 12:02 pm
Forum: Pano2VR general
Topic: audio API issue
Replies: 1
Views: 383

audio API issue

I have a pano tour consisting of 4 panos. Each pano include a background sound, BUT only 3 of them start playing immediately, the fourth sound must be started manually. I have created a simple sound player. It consists of a toggle play and pause button. I have set all background sound to loop = -1. ...
by ffurger
Wed Jul 31, 2019 4:17 pm
Forum: Pano2VR general
Topic: Wierd Pano2VR behaviour
Replies: 3
Views: 559

Re: Wierd Pano2VR behaviour

Never mind, I found the problem. In "Preferences > Advanced" I had checked "Open after creation".
by ffurger
Wed Jul 31, 2019 3:57 pm
Forum: Pano2VR general
Topic: Wierd Pano2VR behaviour
Replies: 3
Views: 559

Re: Wierd Pano2VR behaviour

Indeed, but that's actually correct, in this case. Why would then Pano2VR open the XML file? That didn't happen in earlier versions.