developer documentation r17362

Accessing the files

Both the components and API's will always return 2 urls. These are the publicUrl and thumbUrl

These are the simple rules for which to use when:

Make sure you append the appropriate sub-type to the url. This is for example /12 for an 84x84 thumbnail or /22 for an MPEG4-H.264 file.

Complete list of transcoded files

Background

The publicUrl always directly goes to FM's servers, and is usually rstorage.filemobile.com/storage/123456 (123456 being the media-id). At this point we track the hit in our database, and actually redirect the user to the same url as the thumburl.

The 'thumbUrl' is the actual physical location where the file is stored. By default this will be something like http://storage.filemobile.com/storage/123456/21. If you use a CDN, such as Akamai or Limelight, this thumbUrl will represent this location, but the publicUrl will not change.

<< 3 Media 3.2 Exported files >>