Topic: mobile problem

i have everything working in flash but when i look on android nothing.

if i turn off flashvars

with

("sv-container", "600", "600", "transparent", false, flashvars, params, attributes)

it reads

No Images Specified in Gallery XML.

all urls are correct. not sure whats going on. i need it to work for mobile

thanks for your time

//

<!--START SIMPLEVIEWER EMBED.-->
<script type="text/javascript" src="/Portals/xxxxx/svcore/js/simpleviewer.js"></script>
<script type="text/javascript">
var flashvars = {};
flashvars.galleryURL = "/Portals/xxxxx/xml/steinway-m.xml";
var params = {};
params.wmode = "transparent";
var attributes = {};
attributes.id = "svInstance";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "600", "600", "transparent", true, flashvars, params, attributes);
});
</script>
<div id="sv-container"></div>
<!-- END SIMPLEVIEWER EMBED -->

//

<simpleviewergallery
maxImageWidth="600"
maxImageHeight="600"
imageQuality="90"
thumbWidth="75"
thumbHeight="75"
thumbQuality="90"
useFlickr="false"
resizeOnImport="true"
cropToFit="false"
backgroundTransparent="true"
useFlash="false"
useColorCorrection="false"
thumbPosition="BOTTOM"
thumbColumns="6"
thumbRows="1"
stageHPadding="0"
stageVPadding="0"
showToolTips="false"
floatButtonBar="false"
showNavButtons="false"
buttonBarPosition="NONE"
mobileShowNav="true"
mobileShowThumbs="true"
mobileShowCaption="true"
mobileShowPageCount="true"
mobileCaptionTextColor="#ffffff"
mobileThumbsTextColor="#ffffff"
loopAudio="false"

Last edited by organicovations (2012-04-06 16:17:34)

Re: mobile problem

It is hard to tell from the code you posted why your gallery does not work on your Android device.
Please post the URL to your gallery so that we can take a look.

A few things to try...
(1) Make sure you are using the most recent version of SimpleViewer-Pro (v2.3.0).
Please see the 'Upgrading SimpleViewer-Pro' page for details if necessary: http://www.simpleviewer.net/simpleviewe … grade.html
(2) Try using either an absolute URL or relative URL for your galleryURL rather than starting the galleryURL with a '/' to denote the root.
(3) There is no need to set params.wmode="transparent" manually. SimpleViewer does this automatically behind the scenes when the word 'transparent' is used as the backgroundColor embed code parameter. (This will not fix your problem but is simply an additional observation.)

Steven Speirs
SimpleViewer Support Team.

Re: mobile problem

im 2.2.0

does that make a difference in mobile?

i can update later today.

*

i will need to delete this link later

[Link removed.]

*

Re: mobile problem

does that make a difference in mobile?

Upgrading to v2.3.0 will certainly eliminate any bugs that were present in v2.2.0.
In the SimpleViewer Version History of v2.3.0, the following bug (present in v2.2.0) was fixed:

FIXED - Gallery sizing broken in Android 4.0 [Mobile Player]

... so upgrading may solve your problem.
Thank you for providing the link to your gallery (which I have now deleted from your post).
Make sure that all parent containers of your gallery have been given a height via CSS.
You could also try validating your page with the W3C Validation Service and fixing the errors reported.

Steven Speirs
SimpleViewer Support Team.

Re: mobile problem

ty

Re: mobile problem

Okay upgraded and done but no change in output?


I need to delete this link after use // ty
[Link removed.]

Re: mobile problem

ive changed the script code the old one wouldnt work. heres the new one.

CDATA[
var flashvars={};
flashvars.galleryURL="/Portals/xxxxx/xml/steinway-m.xml";
simpleviewer.ready(function () {
simpleviewer.load("sv-container", "600", "600", "", true, flashvars);
});
// ]]

but mobile isnt working.

Re: mobile problem

There is a lot of code on your page and it may take some trial and error to find the cause of the problem.
I would recommend stripping the page back to just the gallery to make sure that it displays on your Android device on its own. Then start adding elements of your page back in one at a time until the gallery fails.
The only clue I have as to why the gallery may not be appearing is that on first loading, the 'Steinway M Ebony' heading is directly below the 'Steinway M (Satin Ebony)' heading and then the gallery 'jumps' in between the two headings (forcing the 'Steinway M Ebony' heading down the page) as it loads.

Incidentally:

simpleviewer.load("sv-container", "600", "600", "", true, flashvars);

... should be:

simpleviewer.load("sv-container", "600", "600", "transparent", true, flashvars);
Steven Speirs
SimpleViewer Support Team.