Custom Landscape Won't Load on Web Page

Any questions? Any answers?
Post Reply
Bunty

Custom Landscape Won't Load on Web Page

Post by Bunty »

Even though I think I followed directions properly, I can not get my custom landscape to load on my web page, because strangely enough, the village landscape loads. It does OK on my desktop. Its URL is at http://stillwaterweather.com/forecastanimated.php The code I'm using along with the ywl code is below:

<div style="width:1005px; height:630px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/yowidget3.swf" width="1005" height="630">
<param name="movie" value="http://swf.yowindow.com/yowidget3.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=4552215&location_name="http://stillwaterweather.com/landscapes ... oramax.ywl"/>
<a href="http://yowindow.com/weatherwidget.php"
style="width:1005px;height:630px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Weather Widget</a>
</object>

</div>
<div style="width: 1005px; height: 630px; font-size: 16px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://yowindow.com?client=widget&link=copyright" style="color: #2fa900; font-weight:bold; text-decoration:none;" title="Weather Widget">YoWindow.com</a></span>
<span style="float:right; color:#888888;"><a href="http://www.weather.gov" style="color: #2fa900; text-decoration:none;">NWS</a></span>
</div>

ywl code:

<?xml version="1.0" encoding="UTF-8"?>
<landscape name="panoramax" type="picture" id="panoramax_1342ABA7C05">
<data src="img/yo_panoramax.png" horizonLevel="719">
</data>
</landscape>
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: Custom Landscape Won't Load on Web Page

Post by hermanz »

Hi Dan :good:
Welcome to this forum

Will you change the code

<object codebase="http://download.macromedia.com/pub/shoc ... 10,0,32,18" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" data="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" type="application/x-shockwave-flash" width="800" height="500">
<param name="allowfullscreen" value="true" />
<param name="wmode" value="opaque" />
<param name="bgcolor" value="#FFFFFF" />
<param name="flashvars" value="location_id=gn:4552215&landscape=http://stillwaterweather.com/landscapes ... _bar=false" />
<param name="src" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" />
<embed flashvars="location_id=gn:4552215&landscape=http://stillwaterweather.com/landscapes ... _bar=false" wmode="opaque" allowfullscreen="true" bgcolor="#FFFFFF" src="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" type="application/x-shockwave-flash" width="800" height="500"></embed>
</object>


and will you change the crosdomain.xml

cross-domain-policy>
<allow-access-from domain="*" secure="true"/>
</cross-domain-policy>

gr.
Herman :beer:
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
Bunty

Re: Custom Landscape Won't Load on Web Page

Post by Bunty »

Sorry, but after those two changes were made, all I have now is a white body with a green line going across with the temperature just above it.
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: Custom Landscape Won't Load on Web Page

Post by hermanz »

The landscape is http://stillwaterweather.com/landscapes ... oramax.png
Change the http://stillwaterweather.com/landscapes ... oramax.ywl

<?xml version="1.0" encoding="UTF-8" ?>
- <landscape name="panoramax" type="picture" id="panoramax_1342ABA7C05">
<data src="yo_panoramax.png" horizonLevel="719" />
</landscape>

there is no directory : img
gr.
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
Bunty

Re: Custom Landscape Won't Load on Web Page

Post by Bunty »

Okay, it worked. Thanks a bunch. I got the idea to include the "imx" from the yowindow online instructions. Maybe it needs to be removed.
Yanek

Re: Custom Landscape Won't Load on Web Page

Post by Yanek »

My landscape work well. But now it shows up on the side and nothing on it I did not change.

www.portal.wkrasniku.pl

My code:

Code: Select all

<div style="width: 220px; height: 150px;"><object width="220" height="150" classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" data="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=767623&time_format=24&lang=pl&unit_system=metric&landscape=http://cms.wkrasniku.pl/landscapes/r_rynek0003/r_rynek0003.ywl" /><param name="movie" value="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" /><embed width="220" height="150" type="application/x-shockwave-flash" src="http://swf.yowindow.com/wimo/hpPal/hpPal.swf" allowfullscreen="true" wmode="opaque" bgcolor="#FFFFFF" flashvars="location_id=767623&time_format=24&lang=pl&unit_system=metric&landscape=http://cms.wkrasniku.pl/landscapes/r_rynek0003/r_rynek0003.ywl"></embed><a href="http://yowindow.com?client=widget&link=stub" style="width: 220px; height: 150px; display: block; text-indent: -50000px; font-size: 0px; background: #DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;">Desktop weather</a> </object></div>
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Custom Landscape Won't Load on Web Page

Post by ikarus1969 »

Yanek wrote:My landscape work well. But now it shows up on the side and nothing on it I did not change.

http://www.portal.wkrasniku.pl

"nothing on it"? No, everything seems to be ok:
YoWindow - abc.jpg
YoWindow - abc.jpg (40.34 KiB) Viewed 6246 times
If you want other people visiting your page just say it :wink:
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
Yanek

Re: Custom Landscape Won't Load on Web Page

Post by Yanek »

After writing the post, I found a bug in the code and managed to fix it.
Post Reply