homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Web Video Creation and Optimization
Forum Library, Charter, Moderators: travelin cat

Web Video Creation and Optimization Forum

Embed Code vs SWFObject
Which do you use .... and why?

10+ Year Member

Msg#: 3792156 posted 8:10 pm on Nov 22, 2008 (gmt 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....




WebmasterWorld Senior Member 5+ Year Member

Msg#: 3792156 posted 8:52 pm on Nov 22, 2008 (gmt 0)

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).



WebmasterWorld Senior Member 10+ Year Member

Msg#: 3792156 posted 12:12 pm on Dec 1, 2008 (gmt 0)

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..

Global Options:
 top home search open messages active posts  

Home / Forums Index / WebmasterWorld / Web Video Creation and Optimization
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved