Feature discussion
dambur3
Posts: 3 Joined: Tue Sep 03, 2013 2:02 pm
Post
by dambur3 » Tue Sep 03, 2013 2:15 pm
Hello when I load up the custom landscape I only get a blue sky?
Code: Select all
<div style="width:400px; height:259px;">
<object type="application/x-shockwave-flash" data="http://***/***/***/yowidget_standalone/yowidget.swf" width="400" height="259">
<param name="movie" value="http://***/***/***/yowidget_standalone/yowidget.swf"/>
<param name="allowfullscreen" value="true"/>
<param name="wmode" value="opaque"/>
<param name="bgcolor" value="#FFFFFF"/>
<param name="flashvars"
value="location_id=gn:4259418&location_name=Indianapolis&landscape=GID&time_format=12&unit_system=us&background=#FFFFFF©right_bar=false"
/>
<a href="http://WeatherScreenSaver.com?client=widget&link=copyright"
style="width:400px;height:259px;display: block;text-indent: -50000px;font-size: 0px;background:#DDF url(http://yowindow.com/img/logo.png) no-repeat scroll 50% 50%;"
>Screen Saver</a>
</object>
</div>
<div style="width: 400px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://WeatherScreenSaver.com?client=widget&link=copyright" style="color: #2fa900; font-weight:bold; text-decoration:none;" title="Screen Saver">YoWindow.com</a></span>
<span style="float:right; color:#888888;">Forecast by <a href="http://www.weather.gov" style="color: #2fa900; text-decoration:none;">NWS</a></span>
</div>
Don
Posts: 687 Joined: Tue Sep 14, 2010 12:14 am
Name: Don
Location: Roseville, California, United States of America
Contact:
Post
by Don » Tue Sep 03, 2013 7:43 pm
Hi,
Where you have landscape=GID, replace GID with the path to your .ywl file.
landscape=http://***/***/***/your_landscape.ywl
Don
dambur3
Posts: 3 Joined: Tue Sep 03, 2013 2:02 pm
Post
by dambur3 » Tue Sep 03, 2013 8:13 pm
Thanks for your reply Don,
I tried that and the results remain the same.
Inside my GID folder is:
GID.ywl
GID.swf
GID.ywl :
Code: Select all
<landscape name="GID" type="plugin" id="com.yowindow.GID">
<data src="GID.swf">
</data>
</landscape>
Any other thoughts?
Don
Posts: 687 Joined: Tue Sep 14, 2010 12:14 am
Name: Don
Location: Roseville, California, United States of America
Contact:
Post
by Don » Wed Sep 04, 2013 9:09 am
The contents of your .ywl file should be formatted like this:
Code: Select all
<landscape id="picturename_0000000000" type="picture" name="picturename">
<data src="picturename.swf" horizonLevel="000"/>
</landscape>
Notice that the type is "picture" and that you are missing the horizonLevel. The .ywl file is generated by yoWindow when you create a custom landscape. The only thing you need to change when you use your custom landscape with the widget for a website is <data src="picturename.png" horizonLevel="000"/> to <data src="picturename.swf" horizonLevel="000"/> to match the picture you converted to the .swf format. Please see these FAQs for more details.
http://yowindow.com/live_sky_picture.php -
http://yowindow.com/widget_and_landscape . Of course the part about the crossdomain.xml file in the second FAQ does not apply to the standalone widget.
Don
dambur3
Posts: 3 Joined: Tue Sep 03, 2013 2:02 pm
Post
by dambur3 » Wed Sep 04, 2013 1:08 pm
Don,
Thanks so much! That worked I am up and running. I need to take a better picture though!
Damonn
Don
Posts: 687 Joined: Tue Sep 14, 2010 12:14 am
Name: Don
Location: Roseville, California, United States of America
Contact:
Post
by Don » Thu Sep 05, 2013 1:53 am
.................. dambur3 wrote: Don,
Thanks so much! That worked I am up and running. I need to take a better picture though!
Damonn