you could *try* using the google hosted api and advising clients to place
the swfobject code immediatly before the closing body tag

- S


2009/8/17 prism <[email protected]>

>
> Hi,
>
> how do you let other people embed your Flash content?
> We have offered this to our clients, and it works:
>
> Inside <head></head>
>
> <script type="text/javascript" src="http://www.server.net/js/
> swfobject.js"></script>
> <script type="text/javascript">
>        swfobject.embedSWF("http://www.server.net/content.swf";,
>        "myContent", "480", "270", "10.0.0",
>        "http://www.system.net/expressInstall.swf";,
>        {base:"/",width:"480",height:"270"});
> </script>
>
> and in your document
>
> <div id="myContent">
>        You need Adobe Flash Player to view this content.<br/>
>        <br/>
>        <a href="http://www.adobe.com/go/getflashplayer";><img
>        src="http://www.adobe.com/images/shared/download_buttons/
> get_flash_player.gif"
>        alt="Get Adobe Flash player" /></a>
> </div>
>
>
> But, some clients don't have access to the <head></head> tags, or they
> use a server-side language and a header partial to render the first
> part of the HTML, and don't want SWFObject injected on EVERY page, but
> just the one where this content is to be shown. Are there any
> solutions to this?
> I'm aware Youtube uses <embed>, etc directly in the code, but that
> seems quite crude, and doesn't help with expressInstall. I've tried to
> put SWFObject script, etc, directly into the document body, but that
> doesn't seem to work. Any help appreciated!
>
> prism
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"SWFObject" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/swfobject?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to