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:
- Use the publicUrl if you load a video, a big picture or an mp3. Loading this url will cause hits to be tracked and makes sure reporting works.
- Use thumbUrl if you don't care about this. Generally this is only used for thumbnails.
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.
developer documentation r17362