Search found 11 matches

by Grzesiek_R
Mon Mar 04, 2019 12:09 pm
Forum: Pano2VR general
Topic: Styling Text with CSS for a hotspot
Replies: 9
Views: 3295

Re: Styling Text with CSS for a hotspot

Solved it! For some reason, when I was declaring the fonts in the HTML5 template, these were not included in the <head> section of my .html document.
by Grzesiek_R
Sun Mar 03, 2019 7:26 am
Forum: Pano2VR general
Topic: Styling Text with CSS for a hotspot
Replies: 9
Views: 3295

Re: Styling Text with CSS for a hotspot

I think I know what the problem is.

When modifying the HTML5 Template file, I declared two types of fonts from the same family: Open Sans Regular and Open Sans Bold.

However, the CSS file only recognises one type. This is really confusing.

Greg
by Grzesiek_R
Sun Mar 03, 2019 6:29 am
Forum: Pano2VR general
Topic: Styling Text with CSS for a hotspot
Replies: 9
Views: 3295

Re: Styling Text with CSS for a hotspot

Hi Tony

I did disable it and still no good. There must be sth wrong with my browser because even I open the finished project you provided in the tutorial, the text is styled properly but the font type is not right (displaying as Times New Roman).
by Grzesiek_R
Sun Mar 03, 2019 5:50 am
Forum: Pano2VR general
Topic: Styling Text with CSS for a hotspot
Replies: 9
Views: 3295

Re: Styling Text with CSS for a hotspot

Hi Tony I'm using Pano2VR 6.0.3 for mac. I tried following all the steps in your tutorial and I have been unsuccessful. I can style the text but the font type still remains unchanged (default I guess). I'm using a mac so I'm thinking that maybe I should include several fonts (.ttf and .woff) as thes...
by Grzesiek_R
Sun Mar 03, 2019 3:30 am
Forum: Pano2VR general
Topic: Styling Text with CSS for a hotspot
Replies: 9
Views: 3295

Re: Styling Text with CSS for a hotspot

Hi Tony Thanks a lot for the link. I actually found your tutorial yesterday and started going through it. One thing is still not clear to me. If I want to include the actual font files (.eot, .ttf, .woff and .svg) in the folder Pano2VR generates, how do I link the css file to these font files so tha...
by Grzesiek_R
Sat Mar 02, 2019 10:31 am
Forum: Pano2VR general
Topic: Styling Text with CSS for a hotspot
Replies: 9
Views: 3295

Styling Text with CSS for a hotspot

So I'm trying to style text for a hotspot using the CSS Styles option in the skin editor under the Advanced options but for some reason only the font-size property works. I'm trying to use the font-family property as well but it doesn't work. I heard that you can create an external CSS document and ...
by Grzesiek_R
Wed Jan 09, 2019 1:58 pm
Forum: Pano2VR general
Topic: Trying to understand hotspot templates in Silhouette Skin.
Replies: 1
Views: 1071

Trying to understand hotspot templates in Silhouette Skin.

So I noticed that the Silhouette skin comes with image hotspot template (ht_image) and image_popup container which has external popup_image inside of it. I also noticed that the ht_image template has some actions configured which show the image_popup container as well as the external popup_image and...
by Grzesiek_R
Thu Dec 13, 2018 9:39 am
Forum: Pano2VR general
Topic: Cannot launch panorama from desktop with the .html file
Replies: 1
Views: 1742

Cannot launch panorama from desktop with the .html file

So I exported my panorama as HTML5 and can preview it in my browser (Safari) when the export is finished. But, when I close the browser window and go back to the output folder and try to launch the panorama by right-clicking the .html file and opening it with Safari, the skin loads but the panorama ...
by Grzesiek_R
Tue Oct 03, 2017 12:01 pm
Forum: Pano2VR general
Topic: Cross-origin image load denied by Cross-Origin Resource Sharing policy
Replies: 7
Views: 4905

Re: Cross-origin image load denied by Cross-Origin Resource Sharing policy

Thanks a lot for your reply. I came up with the same idea but simply deleted that part of the code and it worked. However, changing it to 'use-credentials' also works!

Thanks
by Grzesiek_R
Wed Dec 28, 2016 6:37 am
Forum: Pano2VR general
Topic: Cross-origin image load denied by Cross-Origin Resource Sharing policy
Replies: 7
Views: 4905

Re: Cross-origin image load denied by Cross-Origin Resource Sharing policy

Hi Thomas

Unfortunately, I cannot send any links as our Moodle pages require a username and password. Is there anything else I can provide you with?

Also, where would I find the CORS configuration? Is it in the .xml or .js file?

Bw
Greg
by Grzesiek_R
Wed Dec 21, 2016 1:23 pm
Forum: Pano2VR general
Topic: Cross-origin image load denied by Cross-Origin Resource Sharing policy
Replies: 7
Views: 4905

Cross-origin image load denied by Cross-Origin Resource Sharing policy

I'm trying to embed a panorama created with Pano2VR on Moodle and it works in Firefox and Chrome but in Safari the player and skin load but the images don't, leaving a black screen and the web inspector gives me this error: Cross-origin image load denied by Cross-Origin Resource Sharing policy . I d...