Go Back   Forum Care Forums > Development Reference Area > Webmaster Topics

Reply
 
LinkBack Thread Tools Display Modes
Remote-hosted flash banner
Old
  (#1)
alchemy
Guest
 
Posts: n/a
Default Remote-hosted flash banner - 05-14-2007, 01:25 AM

Hi,
I'm trying to get my site to validate (rootsorganic.co.uk), but am
having trouble with the banner. I've looked at help on the net, but I
can't find anything for dealing with flash hosted somewhere else. Any
ideas??

Megan

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote

Re: Remote-hosted flash banner
Old
  (#2)
SpaceGirl
Guest
 
Posts: n/a
Default Re: Remote-hosted flash banner - 05-14-2007, 01:25 AM


alchemy wrote:

> Hi,
> I'm trying to get my site to validate (rootsorganic.co.uk), but am
> having trouble with the banner. I've looked at help on the net, but I
> can't find anything for dealing with flash hosted somewhere else. Any
> ideas??
>
> Megan


Hi Megan. Flash doesn't like being served across domains. You need to
google flash cross-domain sandbox. That should give you some pointers.
Basically, you need to add a file that sits along side your hosted
flash movie that tells the flash player that it's allowed to access
data from another domain (and visa versa).

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Remote-hosted flash banner
Old
  (#3)
Guest
Guest
 
Posts: n/a
Default Re: Remote-hosted flash banner - 05-14-2007, 01:25 AM

alchemy wrote:

> Hi,
> I'm trying to get my site to validate (rootsorganic.co.uk), but am
> having trouble with the banner. I've looked at help on the net, but I
> can't find anything for dealing with flash hosted somewhere else. Any
> ideas??


Dealing with Flash movies hosted elsewhere is no different from hosting
it on the local server, with the only exceptions being that the remote
server must allow it, as well as the URL you provide for the Flash
movie.

The reason the validation of your site fails, is that the <embed> tag
isn't part of valid XHTML. You should rather use the <object> tag for
this purpose, like this:

<object cl***id="clsid27CDB6E-AE6D-11cf-96B8-444553540000"
codebase="http://active.macromedia.com/flash5/cabs/swflash.cab#version=5
,0,0,0
" width="800" height="83" codetype="application/x-shockwave-flash">
<param name="movie"
value="http://img167.imageshack.us/img167/1838/f2577959yj8.swf" />
<param name="allowscriptaccess" value="never" />
<param name="scale" value="exactfit" />
<param name="play" value="true" />
<param name="loop" value="true" />
<param name="quality" value="high" />
</object>

Exchanging the whole <embed> tag with the above code snippet leaves you
with only 2 validation errors and one character encoding error, you
might be able to figure out these by yourself.

--
Kim André Akerø
- EMAIL REMOVED
(remove NOSPAM to contact me directly)
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Remote-hosted flash banner
Old
  (#4)
Karl Groves
Guest
 
Posts: n/a
Default Re: Remote-hosted flash banner - 05-14-2007, 01:25 AM

"alchemy" <EMAIL REMOVED> wrote in news:1165851276.143695.236990
@l12g2000cwl.googlegroups.com:

> Hi,
> I'm trying to get my site to validate (rootsorganic.co.uk), but am
> having trouble with the banner. I've looked at help on the net, but I
> can't find anything for dealing with flash hosted somewhere else. Any
> ideas??


I think you have bigger problems than validation.
First, take a look at your site on an 800x600 monitor.
Second, your validation issues would continue no matter where the Flash
banner was located. The markup is the problem, not the Flash


--
Karl Groves
www.karlcore.com
   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Re: Remote-hosted flash banner
Old
  (#5)
alchemy
Guest
 
Posts: n/a
Default Re: Remote-hosted flash banner - 05-14-2007, 01:27 AM

Thank you all for your help. I'm still learning......!

Alchemy

   
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On





Contact Us - Forum Care Forums - Archive - Top