Widget mit eigenem Hintergrund

Bitte posten Sie in Deutsch nur in diesem Abschnitt
baumeister
Posts: 20
Joined: Sun Mar 25, 2012 4:55 pm
Name: Axel

Widget mit eigenem Hintergrund

Post 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
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: Widget mit eigenem Hintergrund

Post 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:
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: Widget mit eigenem Hintergrund

Post by hermanz »

Hi Axel

die Luft wird nicht entfernt


gr.
Herman
Attachments
castrop.zip
(758.08 KiB) Downloaded 322 times
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
baumeister
Posts: 20
Joined: Sun Mar 25, 2012 4:55 pm
Name: Axel

Re: Widget mit eigenem Hintergrund

Post 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
User avatar
hermanz
Posts: 1892
Joined: Thu Apr 08, 2010 3:21 pm
Name: Herman
Location: Nieuwegein, Netherlands

Re: Widget mit eigenem Hintergrund

Post 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:
(Wheather on an I(phone,pad,pod) or Android, YoWindow what else )
baumeister
Posts: 20
Joined: Sun Mar 25, 2012 4:55 pm
Name: Axel

Re: Widget mit eigenem Hintergrund

Post 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 ? :%)
User avatar
Wally©
Posts: 819
Joined: Sun Dec 12, 2010 2:18 am
Name: Walter

Re: Widget mit eigenem Hintergrund

Post 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)
Wally©...

(Ignorance can easily be overcome...Stupidity is 4ever...)
baumeister
Posts: 20
Joined: Sun Mar 25, 2012 4:55 pm
Name: Axel

Re: Widget mit eigenem Hintergrund

Post by baumeister »

Thanks Wally, i'll try it tomorrow..
ikarus1969
Posts: 1645
Joined: Wed Nov 18, 2009 9:58 am
Location: Vienna, Austria

Re: Widget mit eigenem Hintergrund

Post 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.
»Man is impressive. In a universe full of untold secrets he has invented boredom.«
User avatar
Wally©
Posts: 819
Joined: Sun Dec 12, 2010 2:18 am
Name: Walter

Re: Widget mit eigenem Hintergrund

Post 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)
Wally©...

(Ignorance can easily be overcome...Stupidity is 4ever...)
Post Reply