Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Warning

The Flash Media Server used by Amazon Cloudfront and media players like JWPlayer and Flowplayer require certain specific conventions for requesting streamed files. There are two primary variables, one being a prefix which may need to preceed the file name (example prefix values are "mp3:" and "mp4:"). The other variable is whether a file extension is allowed on the file name. Getting these combinations right is particularly important when using secure streaming, as the player cannot request the file with alternative file names to match its preferences. Not all file types use the same combination of prefix and file extension settings. For example, it is common for MP4 files to require a prefix and extension (example file name: "mp4:videofile.mp4") while MP3 files require a prefix by but no extension (example file name: "mp3:audiofile").

The prefix value, when needed, should be added to the stream path by using the "resourcePrefix" parameter on the get-url or get-signed-url call made through the DuraCloud REST API.

The In most cases, the file extension will need to be part of the stored file name. If Even if files are named with a file extension (which is typically the case), but streaming requires that they not have an extension, the DuraCloud REST API can be used to rename those files. Renames can be accomplished by performing a copy of the file (with a new name), followed by a delete of the original filecalls to retrieve a streaming URL can specify the file name with no extension.

Integration Files

The following files are available as a bundle on the downloads page.
They are intended as a starting point for integrating streaming media into your own website.

...