Page 1 of 4

Widget mit eigenem Hintergrund

Posted: Sun Mar 25, 2012 5:03 pm
by baumeister
Hallo,
wie wahrscheinlich viele andere auch habe ich ein Problem mit der Darstellung eines eigenen Panoramabildes im meinem Widget auf meiner Webseite.
Ich habe die Datei "crossdomain.xml" in meinem Hauptverzeichnis auf meinem Webserver gespeichert.
Ebenfalls dort habe ich den Ordner "landscapes" angelegt, in dem sich das Bild "castrop.png" befindet.
Der HTML-Text meiner Webseite sieht so aus:

<body>
<div style="position:absolute; top:2px ; left:2px">
<div style="width:768px; height:420px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/yowidget3.swf" width="768" height="420">
<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=2940231&landscape=http://www.emscherwetter.de/landscapes/ ... _bar=false"
/>
</object>
</div>
</div>
</body>

Wenn ich nun meine Seite "http://www.emscherwetter.de/vorhersage_cr.html" aufrufe, erscheint nichts, außer Himmel.
Wenn ich hier lese, steht hier immer noch etwas von einer ".yml" Datei.
Was ist das, was mache ich falsch ?
Kann mir jemand helfen ?

Danke
Axel

Re: Widget mit eigenem Hintergrund

Posted: Sun Mar 25, 2012 10:40 pm
by hermanz
Hi Axel :good:

Welcome to Yowindow

the parameter landscape=http://www.emscherwetter.de/landscapes/castrop.png is wrong.
This had to be landscape=http://www.emscherwetter.de/landscapes/castrop.ywl

please read http://yowindow.com/widget_parameters.php


gr.
Herman :beer:

Re: Widget mit eigenem Hintergrund

Posted: Mon Mar 26, 2012 5:54 am
by hermanz
Hi Axel

die Luft wird nicht entfernt


gr.
Herman

Re: Widget mit eigenem Hintergrund

Posted: Mon Mar 26, 2012 6:13 pm
by baumeister
Hi Hermann,
thanks very much for your help.
I used your "ywl" and "png" datas, but nothing happens, only a blue sky with sun.
These are my datas:

My website: http://www.emscherwetter.de/vorhersage_cr.html

The code:

<body>
<div style="position:absolute; top:2px ; left:2px">
<div style="width:768px; height:420px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/yowidget3.swf" width="768" height="420">
<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=2940231&landscape=landscapes/castrop.ywl;location_name=Castrop-Rauxel&time_format=24&unit_system=metric&lang=de&background=#FFFFFF&copyright_bar=false"
/>
</object>
</div>
</div>
</body>


This is the "castrop.ywl"-file in "landscapes":

<landscape id="castrop_1364D58887F" type="picture" name="castrop">
<data src="yo_castrop.png" horizonLevel="781"/>
</landscape>


The picture "yo_castrop.png" is also in "landscapes".
What is wrong ? :(

Greetings to you
Axel

Re: Widget mit eigenem Hintergrund

Posted: Mon Mar 26, 2012 7:39 pm
by hermanz
Hi Axel :good:

Der parameter landscape=landscapes/castrop.ywl ist falsch ist

Sie müssen dies ändern in landscape =http://www.emscherwetter.de/landscapes/castrop.ywl


gr.
Herman :beer:

Re: Widget mit eigenem Hintergrund

Posted: Wed Mar 28, 2012 4:37 pm
by baumeister
Hi Herman,
sorry for problems, but this changed nothing:


<body>
<div style="position:absolute; top:2px ; left:2px">
<div style="width:768px; height:420px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/yowidget3.swf" width="768" height="420">
<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=2940231&landscape=http://www.emscherwetter.de/landscapes/ ... _bar=false"
/>

</object>
</div>


</div>
</body>



Only blue sky, no skyline. Am i crazy ???
What happens there ? :%)

Re: Widget mit eigenem Hintergrund

Posted: Wed Mar 28, 2012 6:05 pm
by Wally©
Your backgrounds loads fine on my webspace...

http://users.telenet.be/wdragone/Test.castrop.html

(Never mind the parameters...it's just a background test)
Wat did I do ?

Converted the .png into .swf...

Modified the .ywl file to point to the .swf with notepad..(data src="yo_yo_castrop.swf)

Re: Widget mit eigenem Hintergrund

Posted: Wed Mar 28, 2012 6:16 pm
by baumeister
Thanks Wally, i'll try it tomorrow..

Re: Widget mit eigenem Hintergrund

Posted: Wed Mar 28, 2012 6:18 pm
by ikarus1969
baumeister wrote:Hi Herman,
sorry for problems, but this changed nothing:


<body>
<div style="position:absolute; top:2px ; left:2px">
<div style="width:768px; height:420px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/yowidget3.swf" width="768" height="420">
<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=2940231&landscape=http://www.emscherwetter.de/landscapes/ ... _bar=false"
/>

</object>
</div>


</div>
</body>



Only blue sky, no skyline. Am i crazy ???
What happens there ? :%)
hallo!
ich vermisse bei der Zeile wo flashvars steht ein "&amp" (ohne die doppelten Hochkommata) nach "es/castrop.ywl" (d.h. vor diesem Strichpunkt nach "ywl"). es sollte also so aussehen: "...es/castrop.ywl&amp;..." (wieder natürlich ohne die doppelten Hochkommata)

Mach das mal bitte und erzähle uns, ob das geholfen hat.

Re: Widget mit eigenem Hintergrund

Posted: Wed Mar 28, 2012 6:34 pm
by Wally©
Try this code...

<body>
<div style="position:absolute; top:2px ; left:2px">
<div style="width:768px; height:420px;">
<object type="application/x-shockwave-flash" data="http://swf.yowindow.com/yowidget3.swf" width="768" height="420">
<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=2940231&landscape=http://dragone.host56.com/yo_castrop.yw ... _bar=false"
/>

</object>
</div>


</div>
</body>

Should be working fine as a temporary solution (I will keep the swf+ywl on my webspace)