diaspora/diaspora — pull request #2206 by rekado (2011-10-18 13:29:22+00:00)
Title: Fix issue #2173 (oembed overlapping top bar)

Adds a new method to OEmbedCache to fix the embedding code (fix_embed_code), such that the embedded objects don't overlap the top bar.

Limitations:

- because of memoization this only works for new links that are not yet in the cache; pod owners would have to run `OEmbedCache.all.map{|i| i.fix_embed_code; i.save}` to fix existing caches

- in Firefox the SoundCloud player ignores the fix; it works in WebKit browsers, though