Permalink
Switch branches/tags
Commits on Jun 17, 2016
  1. Merge pull request #41 from paulcoyle/license-file

    pipwerks committed Jun 17, 2016
    Add formal licensing file to repository.
Commits on Jun 15, 2015
  1. Update README.rdoc

    pipwerks committed Jun 15, 2015
Commits on Dec 27, 2014
  1. Add gitignore

    pipwerks committed Dec 27, 2014
Commits on May 22, 2013
  1. Update component.json

    pipwerks committed May 22, 2013
    deleted stray comma
  2. Update swfobject.js

    pipwerks committed May 22, 2013
  3. Update component.json

    pipwerks committed May 22, 2013
  4. Merge pull request #20 from kud/master

    pipwerks committed May 22, 2013
    Add component.json to be ok with bower
Commits on Feb 3, 2012
Commits on Jan 19, 2012
  1. Merge pull request #8 from edendramis/master

    pipwerks committed Jan 19, 2012
    Added .toUpperCase() to areas where comparing nodeName == "OBJECT" for XHTML compatibility
Commits on Nov 24, 2011
  1. Added version property, added revision # to version string

    pipwerks committed Nov 24, 2011
    Due to popular demand, added swfobject.version property (outputs string
    "2.3").
    Also added revision number to version number in comment at top of
    document to aid in identifying which version of SWFObject 2.3 is being
    used during beta phase. The revision is the date listed in reverse
    order: YYYMMDD. Currently set to 2.3.20111123 (revised on Nov 23, 2011).
  2. Consolidated <object> removal functions into removeSWF

    pipwerks committed Nov 24, 2011
    removeSWF now accepts objects as an argument, so we no longer need
    separate removeIeObject or removeObjectInIE functions.  This also
    reduces document.getElementById lookups, which should improve
    performance.
    
    Internet Explorer memory leak prevention code was moved from
    removeObjectInIE to removeSWF
  3. Cleanup

    pipwerks committed Nov 24, 2011
    Replaced tabs with spaces (consistency)
    Moved anonymous function invocation inside parenthesis ((function{}())
    instead of (function{})()
Commits on Nov 23, 2011
  1. Cleaning up some of the consequences of passing an element as an argu…

    pipwerks committed Nov 23, 2011
    …ment instead of an ID
    
    createSWF, embedSWF, showExpressInstall and createCSS all allow element
    to be passed. These ensure that a string is used where expected and an
    element issued where expected.
  2. setVisibility: now checks to ensure ID is present before attempting t…

    pipwerks committed Nov 23, 2011
    …o use createCSS
    
    Prevents error from passing elements as arguments in embedSWF and
    createSWF.
    Also removed second call to getElementById, reducing processing time.
  3. Fixed typo in createCSS revision

    pipwerks committed Nov 23, 2011
    Accidental typo from copying and pasting. Whoopsies.
  4. Replace parseInt with shortcut function

    pipwerks committed Nov 23, 2011
    Replaces 14 instances of parseInt (and accompanying radix), improving
    file size/compression.
  5. Simplified createCSS function

    pipwerks committed Nov 23, 2011
    Removed check for IE on Macs since we no longer support it.
    Simplified the 'add style rule' section to use feature detect and not
    browser sniffing.
    Removed the check for media in (media && typeof media == "string"); if
    typeof media == "undefined" and not "string", the condition will
    evaluate false the same as (media && typeof media == "string")
Commits on Nov 7, 2011
  1. Compressed latest edition of 2.3 beta

    pipwerks committed Nov 7, 2011
    YUI compressor version of swfobject.js source file
  2. Renamed removeChildObj to removeIeObj to better reflect its purpose

    pipwerks committed Nov 7, 2011
    removeChildObj is designed solely to remove the <object> in IE once
    obj.readyState == 4. It is never used by non-IE browsers.
  3. Edited removeChildObj to ensure reference to obj is always valid

    pipwerks committed Nov 7, 2011
    Added obj argument to removeChildObj inside setTimeout. Internet
    Explorer does not accept arguments in setTimeout, so an anonymous
    function was used instead.
    
    See https://developer.mozilla.org/en/DOM/window.setTimeout
  4. Static publishing: Hiding the <object> sooner

    pipwerks committed Nov 7, 2011
    When using static publishing and IE, if the visitor doesn't have the
    proper version of Flash Player (and no ExpressInstall), the <object> is
    removed and replaced by the fallback markup. In IE, the <object> is
    hidden before it's removed due to load reference issues (as noted by
    Bobby in the source code). Currently, the fallback content is extracted
    from the <object> before the <object> is hidden. If the <object>
    contains a large amount of fallback markup, this could conceivably
    cause a 'flash' (forgive the pun) of content prior to the <object>'s
    removal.  I have therefore moved the obj.style.display = "none" to
    occur *before* the fallback content is extracted. This change has no
    effect other than helping ensure the page doesn't suffer from a
    FOUC-type event.
  5. Semantics: replaced mentions of 'alt' content with 'fallback'

    pipwerks committed Nov 7, 2011
    SWFObject has traditionally used the term "alternate content" instead
    of "fallback content". To some, the two terms have identical meanings.
    To others, they have different connotations that can be problematic.
    
    SWFObject has always championed the notion of fallback content,
    regardless of the term we assigned to the concept: markup will be
    displayed if the SWF fails to load due to lack of plugin or lack of
    supported plugin version. (Side note: SWFObject does not track whether
    the SWF actually loads or not.)
    
    I believe "fallback" is a more appropriate term moving forward, and as
    indicated by the HTML5 docs, this is an appropriate choice:
    "Some embedded content elements can have fallback content: content that
    is to be used when the external resource cannot be used (e.g. because
    it is of an unsupported format)."
    http://www.w3.org/TR/html5/embedded-content-0.html
    
    I have therefore edited the SWFObject library to replace all instances
    of "alternate" with "fallback", and all shorthand "alt" with "fb".
  6. Simplified checks for Internet Explorer

    pipwerks committed Nov 7, 2011
    Replaced all instances of ua.ie && ua.win with a simple ua.ie check.
    SWFObject 2.3 does not support Internet Explorer on the Mac (which was
    discontinued by Microsoft in 2003), so we can simplify our codebase
    accordingly.
Commits on Oct 20, 2011
  1. Update README.rdoc

    pipwerks committed Oct 20, 2011
  2. Update README.rdoc

    pipwerks committed Oct 20, 2011
  3. Update README.rdoc

    pipwerks committed Oct 20, 2011
  4. Merge pull request #5 from pipwerks/master

    pipwerks committed Oct 20, 2011
    pull requests
  5. Revert "Coerce player version to string in hasPlayerVersion"

    pipwerks committed Oct 20, 2011
    This reverts commit a186caa.