Custom Landscape Will Not Load In Widget

YoWindow widget Questions, Suggestions and Bugs
Post Reply
User avatar
Wally©
Posts: 819
Joined: Sun Dec 12, 2010 2:18 am
Name: Walter

Custom Landscape Will Not Load In Widget

Post by Wally© »

My friends...

I am having troubles with my widget. It doesn't display the custom landscape (it works flawlessly on my desktop)...

I get the message "Landscape load error...you probably need to update the crossdomain.xml"..

The .xml file has been updated...

<?xml version="1.0"?>
<!DOCTYPE cross-domain-policy SYSTEM "http://www.macromedia.com/xml/dtds/cros ... policy.dtd">
<cross-domain-policy>
<allow-access-from domain="*" secure="true"/>
</cross-domain-policy>

I have uploaded the crossdomain file in the root directory of my webspace
The 'landscapes' directory with the appropriate subdirectory and .ywl + .png are also there
I changed the html file to point to the right file on my webspace...
This is how my html file reads...

<div style="width:750px; height:500px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="750"

height="500">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>


<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"


value="location_id=gn:321580&location_name=Belek&landscape=http://users.telenet.be/wdragone/landsc ... 0x1050.ywl&time_form

at=24&us=metric&background=#FFFFFF&copyright_bar=false"
/>
<a href="http://yowindow.com?client=widget&link=stub"


style="width:750px;height:500px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50%

50%;"
>Windows weather</a>
</object>
</div>
<div style="width: 750px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span

style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Desktop

weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;">Forecast by&nbsp;<a href="http://yr.no" style="color: #2fa900; text-

decoration:none;">yr.no</a></span>
</div>

Perhaps there is something wrong with the html code...
I've been working @ this for 2 days now...and getting pretty desperate... :shock:
If someone in here were able to help...it would be greatly appreciated...

You can see for yourself that the landscape won't load @ http://users.telenet.be/wdragone/Widget.Grida.html

Thanks...
Wally©...

(Ignorance can easily be overcome...Stupidity is 4ever...)
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Custom Landscape Will Not Load In Widget

Post by ikarus1969 »

As the crossdomain.xml is read by flash maybe 2 lines are missing in it according to the post from Pavel (the xml-type and doctype-definition).

Could you please try that and tell us if that helps?
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
User avatar
Wally©
Posts: 819
Joined: Sun Dec 12, 2010 2:18 am
Name: Walter

Re: Custom Landscape Will Not Load In Widget

Post by Wally© »

Thx...very much...

I update the crossdomain.xml file...

Now all I get is the actual weather data (warning has gone) and forcast...

No custom picture nor animation...it's just blank...

I fiddled around with the html file yesterday...

This is how it looks now...

<div style="width:750px; height:500px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="750" height="500">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:321580&location_name=Belek&landscape=http://users.telenet.be/wdragone/landsc ... _bar=false"
/>
<a href="http://yowindow.com?client=widget&link=stub"
style="width:750px;height:500px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Windows weather</a>
</object>
</div>
<div style="width: 750px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Desktop weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;">Forecast by&nbsp;<a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>

I am convinced it's the html code...

Again...thx for your reply...
Wally©...

(Ignorance can easily be overcome...Stupidity is 4ever...)
User avatar
Don
Posts: 687
Joined: Tue Sep 14, 2010 12:14 am
Name: Don
Location: Roseville, California, United States of America
Contact:

Re: Custom Landscape Will Not Load In Widget

Post by Don »

Hi Wally,

I hate to be the bearer of bad news, but your site appears to be on a shared domain which means you probably don't have access to the root directory where crossdomain.xml must go. :(

Maybe you can ask Herman if his offer to host landscapes is still good. --> http://yowindow.com/forum/viewtopic.php?f=18&t=1331

Don
User avatar
Wally©
Posts: 819
Joined: Sun Dec 12, 2010 2:18 am
Name: Walter

Re: Custom Landscape Will Not Load In Widget

Post by Wally© »

Thx Don...

I just sent Herman a pm requesting for his assistance in the matter...

I think there's also something wrong with the html code itself...

Any help, if possible, is welcome..

Thx...
Wally©...

(Ignorance can easily be overcome...Stupidity is 4ever...)
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: Custom Landscape Will Not Load In Widget

Post by hermanz »

Hi Wally

this is the code
---------------------------------------
<div style="width:750px; height:500px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="750" height="500">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:321580&location_name=Belek&landscape=http://hermanz.nl/yowindow/landscape/wa ... _bar=false"
/>
<a href="http://yowindow.com?client=widget&link=stub"
style="width:750px;height:500px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Windows weather</a>
</object>
</div>
<div style="width: 750px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Desktop weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;">Forecast by&nbsp;<a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>
--------------------------
I have converted the file to swf

the location is
http://hermanz.nl/yowindow/landscape/wa ... 0x1050.ywl

gr.
Herman :good:
Attachments
widget.grida.zip
(778 Bytes) Downloaded 369 times
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
User avatar
Don
Posts: 687
Joined: Tue Sep 14, 2010 12:14 am
Name: Don
Location: Roseville, California, United States of America
Contact:

Re: Custom Landscape Will Not Load In Widget

Post by Don »

hermanz wrote: <param name="flashvars"
value="location_id=gn:321580&location_name=Belek&landscape=http://hermanz.nl/yowindow/landscape/wa ... 0x1050.ywl"&time_format=24&us=metric&background=#FFFFFF&copyright_bar=false"
/>
Somehow an extra quote mark (highlighted in red above) made it into your code.
Here is the code Herman provided minus the extra quote.

Don

Code: Select all

<div style="width:750px; height:500px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" width="750" height="500">
<param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars" value="location_id=gn:321580&location_name=Belek&landscape=http://hermanz.nl/yowindow/landscape/wally/1680x1050.ywl&time_format=24&us=metric&background=#FFFFFF&copyright_bar=false" />
<a href="http://yowindow.com?client=widget&link=stub" style="width:750px;height:500px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;">Windows weather</a>
</object>
</div>
<div style="width: 750px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; text-decoration:none;" title="Desktop weather">YoWindow.com</a></span>
<span style="float:right; color:#888888;">Forecast by&nbsp;<a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>
User avatar
Wally©
Posts: 819
Joined: Sun Dec 12, 2010 2:18 am
Name: Walter

Re: Custom Landscape Will Not Load In Widget

Post by Wally© »

A big thanks to Herman and Don...

It works flawlessly now... :Yahoo!:

http://users.telenet.be/wdragone/Weather_Belek.html

I wish I had my own server so I could use much more landscapes...and locations...

Anybody know of a free or inexpensive hosting service with flexible crossdomain.xml hosting ?
Wally©...

(Ignorance can easily be overcome...Stupidity is 4ever...)
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: Custom Landscape Will Not Load In Widget

Post by hermanz »

Hi Wally

no thanks

A cheap provider is http://hosting2go.nl .
1) 30 euro a year.
2) a own domain name
3) 2,5 Gb webspace
4) 30 Gb trafic per month

gr.
Herman :good:
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
Post Reply