I’m having trouble with HTML5 output with ‘Prefer Flash if available’.
In the HTML tab:
Template: normal.ggt.
Flash fallback player: unchecked
Flash fallback file: used Open dialog to point to SWF file in a different folder on my computer that is the start of a multi-SWF, multi-resolution pano tour that was created in P2VR3.
Prefer Flash if available: checked
When I launch the tour, the correct Flash skin displays but the images remain the low res of the HTML tour. The high-res images don’t load. The links to other panos in the tour don’t work.
I’ve also tried setting the Flash fallback file to the http address of the online tour on my website, but this doesn’t work either.
I’ve tested on Firefox, Safari, Chrome and Opera with the same results.
How is 'Prefer Flash' supposed to work?
Judy
--
Pano2VR Pro 4
Mac Pro Quad Core Intel Xeon
Mac OS 10.6.8
[P2VR Pro4 Mac] Prefer Flash troubles
Hi Smooth,
I don’t think the images/tiles folders were the issue.
I was able to get a proper Flash pano displaying if I output a new Flash tour from the same Pano2VR Pro4 project as the HTML5 tour. The skin had to be edited to target the nodes, of course.
Because I don’t want to redo my entire web site, especially the multi-resolution tours, I’m trying to learn how to provide the appropriate format, Flash or HTML5. My Flash skins are designed for larger displays, so maybe I don’t want small Android devices to be directed to the Flash tours. So many moving parts to track -- so few brain cells!
Judy
I don’t think the images/tiles folders were the issue.
I was able to get a proper Flash pano displaying if I output a new Flash tour from the same Pano2VR Pro4 project as the HTML5 tour. The skin had to be edited to target the nodes, of course.
Because I don’t want to redo my entire web site, especially the multi-resolution tours, I’m trying to learn how to provide the appropriate format, Flash or HTML5. My Flash skins are designed for larger displays, so maybe I don’t want small Android devices to be directed to the Flash tours. So many moving parts to track -- so few brain cells!
Judy
Hi Judy,
We are just coming into Summer here and to be honest I didn't do a lot of my own panoramas during Winter and Spring.
So I haven't been working that much with Pano2VR V4 as yet.
Mobile devices are a major pain, I agree. So many models and goal posts appear to be on wheels. Just as your about to reach them, they roll in a different direction.
That said, Android should still display Flash so long as the tiles are small enough (that, and so long as Flash is installed). If not (and so long as the mobile browser used is HTML5 compliant) the HTML5 version should take over.
I'm of the opinion (rightly of wrongly) that very few use phones to view panoramas. Tablets on the other hand will take it's share, because of size and portability.
Whether this is YOUR target with panoramic scenery tours is another factor.
Anyway, good luck with your workflow hunt. I'm sure as soon as you have found it, Apple will again change the rules rendering it a waste of time.
Regards, Smooth
We are just coming into Summer here and to be honest I didn't do a lot of my own panoramas during Winter and Spring.
So I haven't been working that much with Pano2VR V4 as yet.
Mobile devices are a major pain, I agree. So many models and goal posts appear to be on wheels. Just as your about to reach them, they roll in a different direction.
That said, Android should still display Flash so long as the tiles are small enough (that, and so long as Flash is installed). If not (and so long as the mobile browser used is HTML5 compliant) the HTML5 version should take over.
I'm of the opinion (rightly of wrongly) that very few use phones to view panoramas. Tablets on the other hand will take it's share, because of size and portability.
Whether this is YOUR target with panoramic scenery tours is another factor.
Anyway, good luck with your workflow hunt. I'm sure as soon as you have found it, Apple will again change the rules rendering it a waste of time.
Regards, Smooth
- Hopki
- Gnome
- Posts: 13029
- Joined: Thu Jan 10, 2008 3:16 pm
- Location: Layer de la Haye, Essex UK
- Contact:
Hi Judy,
Normally when making a project like this you would have the HTML5 and Flash outputs in the same folder.
So from the HTML page the SWF and its Tiles folder are all together.
By the sounds of it the SWF is being call from a different location so its path the the tiles folder is lost so can not display the tiles. The SWF has the preview images so that you you get to see as well as any levels you have embedded in the SWF.
To fix this add to your HTML page:
replace with the path to your SWF file.
So ends up looking somthing lik ethis but with your own file paths in:
That should do it.
I have also attached a base path project.
It opens with a folder called "basepath" with two sub folders inside, one flash and the other HTML5.
Open the HTML5 folder and the p2vr file.
Click Create All.
Then open the "old_index.html" file.
The index.html will of course not have the base path code.
Regards,
Hopki
Normally when making a project like this you would have the HTML5 and Flash outputs in the same folder.
So from the HTML page the SWF and its Tiles folder are all together.
By the sounds of it the SWF is being call from a different location so its path the the tiles folder is lost so can not display the tiles. The SWF has the preview images so that you you get to see as well as any levels you have embedded in the SWF.
To fix this add to your HTML page:
Code: Select all
params.base="../flash";
Code: Select all
../flash
So ends up looking somthing lik ethis but with your own file paths in:
Code: Select all
if (swfobject.hasFlashPlayerVersion("9.0.0")) {
var flashvars = {};
var params = {};
params.base="../flash";
params.quality = "high";
params.bgcolor = "#ffffff";
params.allowscriptaccess = "sameDomain";
params.allowfullscreen = "true";
var attributes = {};
attributes.id = "pano";
attributes.name = "pano";
attributes.align = "middle";
swfobject.embedSWF(
"../flash/pavilion_out.swf", "container",
"100%", "100%",
"9.0.0", "",
flashvars, params, attributes);
I have also attached a base path project.
It opens with a folder called "basepath" with two sub folders inside, one flash and the other HTML5.
Open the HTML5 folder and the p2vr file.
Click Create All.
Then open the "old_index.html" file.
The index.html will of course not have the base path code.
Regards,
Hopki
- Attachments
-
- basepath.zip
- (2.92 MiB) Downloaded 167 times
Garden Gnome Support
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
If you send an e-mail to support please send a link to the forum post for reference.
support@ggnome.com
https://ggnome.com/wiki/documentation/
Thanks for the project files. I couldn’t get this working by using a folder name in the params.base line, as you have shown in your example. My SWF file is two folders up, so finally got the Flash version displaying locally with this format:Hopki wrote: So ends up looking somthing lik ethis but with your own file paths in:
That should do it.Code: Select all
if (swfobject.hasFlashPlayerVersion("9.0.0")) { var flashvars = {}; var params = {}; params.base="../flash"; params.quality = "high"; params.bgcolor = "#ffffff"; params.allowscriptaccess = "sameDomain"; params.allowfullscreen = "true"; var attributes = {}; attributes.id = "pano"; attributes.name = "pano"; attributes.align = "middle"; swfobject.embedSWF( "../flash/pavilion_out.swf", "container", "100%", "100%", "9.0.0", "", flashvars, params, attributes);
Code: Select all
params.base = "../../",
Judy