You are not logged in.

  • "Ton den Ouden" started this thread

Posts: 18

Location: Netherlands

Occupation: Photographer

  • Send private message

1

Wednesday, January 4th 2012, 10:53pm

No cursors on Macbook

Hi all,

I have just finished my first commercial tour in krpano and I was surprised when I did a check on my Macbook that I didn't get the qtvr cursor, as it works fine on Windows using Firefox and IE.
There must be something that I have overlooked, but I can't find it.

Any help would be most welcome!

Here is my code related to the cursors:


Source code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
	<action name="startup">
		<!-- load the first scene -->
		qtvrcursor(); loadscene(get(scene[0].name),null,MERGE); zoomto(90,smooth(5)); delayedcall(1, set(plugin[uitleg].visible,0));
	</action>


	<action name="qtvrcursor">
		set(control.mousetype, moveto);
		set(cursors.url, virtualtour/tour.data/graphics/qtvr-cursors.png);
		set(cursors.type, 8way);
		set(cursors.move,   	0|0|16|16);
		set(cursors.drag,  	16|0|16|16);
		set(cursors.arrow_u,   32|0|16|16);
		set(cursors.arrow_d,   48|0|16|16);
		set(cursors.arrow_l,   64|0|16|16);
		set(cursors.arrow_r,   80|0|16|16);
		set(cursors.arrow_lu,  96|0|16|16);
		set(cursors.arrow_ru, 112|0|16|16);
		set(cursors.arrow_rd, 128|0|16|16);
		set(cursors.arrow_ld, 144|0|16|16);
	</action>


And here a link to the actual tour: http://www.pro4pics.com/test/Stern/tour.html

Thanks for looking into it!

Ton

Posts: 1,850

Occupation: Virtual Tours - Photography - Krpano developer

  • Send private message

2

Thursday, January 5th 2012, 2:25am

Great tour and photography! What made you leave fpp?
KRPano Developer: Portfolio ::Gigapixel Tagging Solutions - Porfolio 2 :: Facebook :: Twitter :: reddit.com/r/VirtualTour

3

Thursday, January 5th 2012, 10:50am

Hi,

what browser were you using on Mac? Safari?

in your html file you have set:

Source code

1
viewer.useHTML5("whenpossible");


this means the krpano html5 viewer will be used when possible,
and on Mac Safari it is possible, so there the html5 viewer will be used,

but in the html5 viewer there are currently no custom cursors supported ,

best regards,
Klaus

  • "Ton den Ouden" started this thread

Posts: 18

Location: Netherlands

Occupation: Photographer

  • Send private message

4

Thursday, January 5th 2012, 11:00am

Thanks Sacha,

The main reason was the customer demand for viewing the tours on mobile devices. I think Krpano is the best tool for that by far.
It also gives a lot more flexibility in programming. The only down side is getting used to the new syntax again, but I am happy with the first results!

Ton

  • "Ton den Ouden" started this thread

Posts: 18

Location: Netherlands

Occupation: Photographer

  • Send private message

5

Thursday, January 5th 2012, 11:09am

Thanks for the quick reaction Klaus!

Yes I am using Safari. And now it becomes clear to me why I have seen Krpano examples that do show the custom cursor.
This tour is for mobile and tablet use too, so I guess there is no other way to solve this?

Thanks again, Ton

6

Thursday, January 5th 2012, 11:17am

Hi,
This tour is for mobile and tablet use too, so I guess there is no other way to solve this?
when you remove the viewer.useHTML5("whenpossible"); in the html file, then the panos will be still viewable on mobile and tablet with html5, but on Desktop the Flash version will be used when the Flashplayer is available,

best regards,
Klaus

  • "Ton den Ouden" started this thread

Posts: 18

Location: Netherlands

Occupation: Photographer

  • Send private message

7

Thursday, January 5th 2012, 11:39am

Great! Thanks for making me happy again Klaus! I still have a lot to learn...

Ton