Search found 92 matches

by LProbert
Wed Feb 09, 2022 1:12 pm
Forum: Pano2VR general
Topic: 403 server error on hotspot node images
Replies: 1
Views: 863

Re: 403 server error on hotspot node images

Literally, as I posted this question I worked it out. But it does open up a possible feature request to make it easier to set the image path as a relative path. it's not that obvious that you can double-click the path name to edit it as a string instead of using the file manager to select the direct...
by LProbert
Wed Feb 09, 2022 1:08 pm
Forum: Pano2VR general
Topic: 403 server error on hotspot node images
Replies: 1
Views: 863

403 server error on hotspot node images

I set my image and tiles folder to `assets/images` in my `build` folder. The main HTML file is also in the `build` folder. I am now getting `403 forbidden error` on my node images from the skin although the tiles are loading. Any idea why?
by LProbert
Thu Aug 19, 2021 5:35 pm
Forum: Pano2VR general
Topic: FEATURE REQUEST: Aspect ratio container width/height
Replies: 6
Views: 2846

Re: FEATURE REQUEST: Aspect ratio container width/height

Thank you for all the responses on this. Just got back from holiday and now need to fix this bug urgently! The CSS setting for keeping the aspect ratio using CSS values is great, but it doesn't solve my issue with the height being larger than the window when it is scaling based on the width. Ideally...
by LProbert
Thu Aug 12, 2021 6:46 pm
Forum: Pano2VR general
Topic: can't get the iframe content to show with a scrollbar
Replies: 1
Views: 1374

Re: can't get the iframe content to show with a scrollbar

The issue is nothing to do with Pano2VR ... it is the standard behaviour of scrolling pages on webkit browsers that hides the scrollbar until the user actually scrolls meaning there's no indication that the page should scroll. It's pretty naff. this is a fix: ::-webkit-scrollbar { -webkit-appearance...
by LProbert
Thu Aug 12, 2021 5:08 pm
Forum: Pano2VR general
Topic: can't get the iframe content to show with a scrollbar
Replies: 1
Views: 1374

can't get the iframe content to show with a scrollbar

I have set the `scrolling=yes` attribute on my iframe but the page is still not showing a vertical scrollbar. It works on mobile but not on desktop. Are there any hidden CSS styles that would be setting the overflow to hidden perhaps?
by LProbert
Thu Aug 12, 2021 4:25 pm
Forum: Pano2VR general
Topic: FEATURE REQUEST: Aspect ratio container width/height
Replies: 6
Views: 2846

FEATURE REQUEST: Aspect ratio container width/height

Trying to code a Vimeo popup embed iframe that keeps itself as 90% of the height but with a flexible width to keep the 16:9 aspect ratio. it is very tricky within the skin editor.to do this. Adding CSS is overridden by the editors' width and height values.
by LProbert
Thu Aug 12, 2021 4:05 pm
Forum: Pano2VR general
Topic: URL does not open in the iframe on ios
Replies: 2
Views: 2074

Re: URL does not open in the iframe on ios

I was one step ahead of you and spotted this in the skin. The URLs that open in iframes fine within Chrome (ios) open in new tabs in Safari on iOS. This could potentially be an issue with PDF files and security. There's also some cross-domain links that work ok on desktop but maybe not on Safari whi...
by LProbert
Thu Aug 12, 2021 2:40 pm
Forum: Pano2VR general
Topic: URL does not open in the iframe on ios
Replies: 2
Views: 2074

URL does not open in the iframe on ios

It seems that Safari iOS wants to open the URLs that I am trying to load in an iframe into a new tab. Is this normal iOS behaviour for iframes?
by LProbert
Thu Aug 12, 2021 2:04 pm
Forum: Pano2VR general
Topic: Does Pano2VR create cookies?
Replies: 2
Views: 1279

Re: Does Pano2VR create cookies?

Cool. I just need to disable the analytics. 👍
by LProbert
Thu Aug 12, 2021 12:18 pm
Forum: Pano2VR general
Topic: Big trouble again again and again
Replies: 5
Views: 2632

Re: Big trouble again again and again

This is the debug error code you get from YouTube player. It looks like the embed code you are using has an invalid parameter. Can you post the embed code you are using? { "vct": "0.000", "vd": "NaN", "vpl": "", "vbu": ""...
by LProbert
Wed Aug 11, 2021 7:22 pm
Forum: Pano2VR general
Topic: Using Firebase Analytics with the Firebase SDK
Replies: 14
Views: 6661

Re: Using Firebase Analytics with the Firebase SDK

Looking at the console and it looks like `pano` does give me the node ID, but `pano.vh` is just an empty array.
by LProbert
Wed Aug 11, 2021 7:07 pm
Forum: Pano2VR general
Topic: Using Firebase Analytics with the Firebase SDK
Replies: 14
Views: 6661

Re: Using Firebase Analytics with the Firebase SDK

I have this javascript: javascript: ""; let nodeID = parent.pano.Qa; firebase.analytics().logEvent('pano_view', { name: parent.pano.Vh[nodeID].title}); On a `node change` event in my skin. The event is being triggered off an empty container in my skin called `app_controller` ... the error ...
by LProbert
Wed Aug 11, 2021 6:41 pm
Forum: Pano2VR general
Topic: Creating a Sound on/off toggle
Replies: 0
Views: 23710

Creating a Sound on/off toggle

soundonoff.jpg
soundonoff.jpg (104.23 KiB) Viewed 23710 times
Am trying to set the variable `is_audio_on` when you click the container to be it's NOT value. So a toggle true/false. Is it possible in expert mode to use this syntax:

Code: Select all

!$(*is_audio_on)
by LProbert
Wed Aug 11, 2021 6:01 pm
Forum: Pano2VR general
Topic: Using Firebase Analytics with the Firebase SDK
Replies: 14
Views: 6661

Re: Using Firebase Analytics with the Firebase SDK

I'm still trying to find a way to get the current node title from a `nodeChange` event in the skin. This code: javascript: firebase.analytics().logEvent('pano_view', { name: pano.getNodeTitle(pano.getCurrentNode())}); doesn't work and I can't see that there's a placeholder tag for the current node, ...