Welcome to WebmasterWorld Guest from

Forum Moderators: open

Message Too Old, No Replies

Embed Code vs SWFObject

Which do you use .... and why?

8:10 pm on Nov 22, 2008 (gmt 0)

Preferred Member

10+ Year Member

joined:May 24, 2002
votes: 0

Here's my situation. I run a site with a pretty good number of FLV clips. The clips are hosted on the main webserver.

We have partner sites that want to show these clips. I really don't want to spread the physical clips across a bunch of sites, if for no other reason than one of having some sense of control -- though I appreciate there's little to be done to prevent the clips from being harvested and served from elsewhere.....

So the working plan is the partner sites will run the clips on their pages, sourcing them from our server.

What aspects would you consider in determining whether to have the partner sites use embed code vs. their own js library, etc to support SWFObject?

My inclination is to provide formatted embed code to the partner network (referencing the player and clips on my web server) and be done with it....


8:52 pm on Nov 22, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month

joined:Aug 29, 2006
votes: 18

The main reasons for using SWFObject that spring to mind:

EOLAS patent - this was important a couple of years ago as it led to annoying "click to activate" messages in Internet Explorer, but the legal case has been settled and this is no longer a problem.

Validation - the EMBED tag is not valid, but you may not care (it still works).

Detection - SWFObject detects whether the client has the requisite Flash player and allows for easy use of alternate content if it does not.

Search Engines - the alternate content can be read and indexed by search engines.

During the EOLAS dispute I had to change a huge number of pages from OBJECT/EMBED to SWFObject, and I have never seen any reason to go back.

In your case, providing embedding code to others would seem reasonable, though even in these post-YouTube days a surprising number of people do not have Flash installed (and actively dislike it).


12:12 pm on Dec 1, 2008 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:Feb 16, 2004
votes: 5

Or "C. None of the above"...

You could provide the other sites with IFRAME code and maintain all the SWF, .JS, .FLV and HTML on your primary server. This will keep it all in your control and not cause any penalties for duplicate content, (although I am not usre if Google is even indexing you .FLVs or if you care).

The IFRAME mathod makes it a one-liner for someone to place your video into their site, (good for some like a manufacturer or distributor or other authority and video owner who wants to have others display ther videos).

Depending on your logging / data mining software, you may also be able to track what sites displayed your video and how many times, etc..


Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members