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.
Add your landscape to widget without crossdomain.xml
Re: Add your landscape to widget without crossdomain.xml
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
- Don
- Posts: 687
- Joined: Tue Sep 14, 2010 12:14 am
- Name: Don
- Location: Roseville, California, United States of America
- Contact:
Re: Add your landscape to widget without crossdomain.xml
Hey Pavel,
Thanks for making this available.
-------------------------
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
Thanks for making this available.
-------------------------
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
I have these 3 files.
I cant go any further.
Please if you can download these files and fix my Yowindow
Thanks
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
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©right_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>
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©right_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>
Last edited by qwertz on Wed Jan 29, 2014 10:14 pm, edited 1 time in total.
- Don
- Posts: 687
- Joined: Tue Sep 14, 2010 12:14 am
- Name: Don
- Location: Roseville, California, United States of America
- Contact:
Re: Add your landscape to widget without crossdomain.xml
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.qwertz wrote:OK, I am consistently getting a fireworks screen - not the Vancouver Airport as I requested. Getting frustrated. Any suggestions please?
Don
Re: Add your landscape to widget without crossdomain.xml
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.
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
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
Re: Add your landscape to widget without crossdomain.xml
The site WAS offline due to server problems, but is online now.
-
- Posts: 1645
- Joined: Wed Nov 18, 2009 9:58 am
- Location: Vienna, Austria
Re: Add your landscape to widget without crossdomain.xml
If with "airport-landscape" you mean the built-in landscape then just code (in the flashvars-parameter)and not
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
Code: Select all
landscape=airport
Code: Select all
landscape=....airport.ywl
edit: you find the list of widget-parameters here: http://yowindow.de/widget_parameters.php
»Man is impressive. In a universe full of untold secrets he has invented boredom.«