Skip to content

Getting Your Content Supported in MediaThread

schuyler1d edited this page Sep 15, 2010 · 5 revisions

The easiest thing to do is publish content in already-supported formats/metadata. See Supported Media in the MediaThread Bookmarklet.

However, assuming this is infeasible, we're always interested in supporting more content. All content must, by nature, be capable of being embedded within another site (i.e. MediaThread) Besides that, these are the things we need in order to support content in MediaThread through a javascript API:

  • Video
    • Site
      • thumb URL
      • video URL
    • Javascript API
      • pause, seek, play, get the current time, get the video duration
      • set the size
      • optionally, a shortcut to load a new resource without tearing down the HTML and building it back up.
  • Image
    • Site
      • thumb URL
      • if available, the algorithm for accessing image tiles (if this exists, then we can use OpenLayers, and you don't need a Javascript API)
    • Javascript API (for plugin-dependent protections like Flash)
      • pan/zoom, get the current pan/zoom
      • display at multiple sizes: thumbnail, 320x240, 620x500

MediaThread is an open-source project (you did realize we're on GitHub, right :-), and so the best thing you can send us is a patch or a pull request which adds support for your site/media-format. The second best is detailed documentation on how to do all of the above.