Page 1 of 3

Add your landscape to widget without crossdomain.xml

Posted: Mon Dec 17, 2012 7:13 pm
by par
This is a quick solution for people who cannot upload crossdomain.xml to the root of web server.
The key is to upload the widget itself (I call this - standalone widget) to the server of your page.

How to add your own landscape to YoWindow widget without crossdomain.xml.

1. Download standalone widget .zip archive from YoWindow website.
http://yowindow.com/widget/yowidget_standalone.zip

2. Unzip yowidget_standalone.zip

3. Upload the contents of yowidget_standalone.zip to your website over FTP in binary mode.
To the directory of your choice.

Find yowidget.swf file, it is right at the top level.
This is the main application file.
Remember the path to yowidget.swf.

4. Test if the standalone widget is working properly.
There is a test page - example.html - in the package.
Navigate to example.html and check if the widget displayed correctly.

5. Customize YoWindow widget on the setup page
http://yowindow.com/weatherwidget

6. Copy HTML code and paste into some text editor.

7. Replace the path "http://swf.yowindow.com/yowidget3.swf" to the path to yowidget.swf on your server.
You need to do this 2 times in the widget code.

8. Upload your landscape to your server.
WARNING: you must to convert .png image to .swf.
Otherwise your users are not to be happy.

9. Edit widget HTML code - add "landscape" variable to flashvars value.
Set landscape to the path of landscape .ywl on your server.
Example:
... &landscape=http://repkin.ru/yo/standalone/new_york_landscape/New York City.ywl"

10. Upload your HTML page to the server and check it out.
If you have made it right, you should see your picture inside YoWindow widget.

Re: Add your landscape to widget without crossdomain.xml

Posted: Mon Dec 17, 2012 9:24 pm
by hermanz
:good:

Re: Add your landscape to widget without crossdomain.xml

Posted: Wed Dec 19, 2012 4:51 am
by Don
Hey Pavel,

Thanks for making this available. :good:

-------------------------

Here's a note for anyone who might have an older copy of the widget code:

7. Replace the path "http://swf.yowindow.com/wimo/hpPal/hpPal.swf" with the path to yowidget.swf on your server.
You need to do this 2 times in the widget code.

Don

Re: I cant go any further

Posted: Sat Aug 31, 2013 11:24 am
by babisxt
I have these 3 files.
I cant go any further.
Please if you can download these files and fix my Yowindow

Thanks

Re: Add your landscape to widget without crossdomain.xml

Posted: Sat Jan 25, 2014 5:58 am
by qwertz
OK, I am consistently getting a fireworks screen - not the Vancouver Airport as I requested. Getting frustrated. Any suggestions please?

Here is the website: http://www.lighthousememories.ca

Here is my code:

<div style="width:220px; height:150px;">
<object type="application/x-shockwave-flash" data="http://lighthousememories.ca/. . . /plugins/yowidget_standalone/yowidget.swf" width="220" height="150">
<param name="movie" value="http://lighthousememories.ca/. . . /plugins/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:6173331&location_name=Vancouver&landscape=http://lighthousememories.ca/. . . /plugins/yowidget_standalone/landscapes/airport.ywl&time_format=12&unit_system=metric&background=#FFFFFF&copyright_bar=false"
/>
<a href="http://WeatherScreenSaver.com?client=wi ... =copyright"
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%;"
>Free Weather Widget</a>
</object>
</div>
<div style="width: 220px; height: 15px; font-size: 14px; font-family: Arial,Helvetica,sans-serif;">
<span style="float:left;"><a target="_top" href="http://WeatherScreenSaver.com?client=wi ... =copyright" style="color: #2fa900; font-weight:bold; text-decoration:none;" title="Free Weather Widget">YoWindow.com</a></span>
<span style="float:right; color:#888888;"><a href="http://yr.no" style="color: #2fa900; text-decoration:none;">yr.no</a></span>
</div>

Re: Add your landscape to widget without crossdomain.xml

Posted: Mon Jan 27, 2014 11:59 am
by Don
qwertz wrote:OK, I am consistently getting a fireworks screen - not the Vancouver Airport as I requested. Getting frustrated. Any suggestions please?
It looks like some of the components of YoWindow are mising. Please make sure you have uploaded all the files from the zip package to your server.

Don

Re: Add your landscape to widget without crossdomain.xml

Posted: Tue Jan 28, 2014 7:02 am
by qwertz
Hi Don, thanks for the reply. ALL the files were uploaded by FTP from my computer after I unzipped the ZIP file.


landscapes
4 KB
Jan 25, 2014 11:51 AM
httpd/unix-directory
0755

lang
4 KB
Jan 25, 2014 11:51 AM
httpd/unix-directory
0755

new_york_landscape
4 KB
Jan 25, 2014 11:51 AM
httpd/unix-directory
0755

swf
4 KB
Jan 25, 2014 11:51 AM
httpd/unix-directory
0755

example.html
1.19 KB
Jan 25, 2014 11:51 AM
text/html
0644

swfobject.js
24.97 KB
Jan 25, 2014 11:51 AM
text/x-generic
0644

yowidget.swf

But it still does not work. All the paths are correct, all the files are there, and yet nothing happens.

Re: Add your landscape to widget without crossdomain.xml

Posted: Tue Jan 28, 2014 8:14 pm
by hermanz
Hi

The page www.lighthousememories.ca cannot be displayed.

Is the site off line

gr.
herman :beer:

Re: Add your landscape to widget without crossdomain.xml

Posted: Tue Jan 28, 2014 10:59 pm
by qwertz
The site WAS offline due to server problems, but is online now.

Re: Add your landscape to widget without crossdomain.xml

Posted: Sat Feb 01, 2014 3:43 pm
by ikarus1969
If with "airport-landscape" you mean the built-in landscape then just code (in the flashvars-parameter)

Code: Select all

landscape=airport
and not

Code: Select all

landscape=....airport.ywl
Could you please try that and tell us if that helped out? Thank you!

edit: you find the list of widget-parameters here: http://yowindow.de/widget_parameters.php