This guide lists all the media file formats the JW Player supports: video, sound, images and YouTube clips.
Single media files can be grouped using playlists and streamed over http or rtmp instead of downloaded. Both options do not change the set of supported media formats. Note that the player always tries to recognize a file format by its extension. If no suitable extension is found, the player will presume you want to load a playlist! Work around this issue by setting the type option.
The player supports video (type=video) in the following formats:
Video in either the MP4 or Quicktime <http://en.wikipedia.org/wiki/Quicktime> container format. These files must contain video encoded with the H.264 codec and audio encoded with the AAC codec. H264/AAC video is today’s format of choice. It can also be played on a wide range of (mobile) devices.
Note: If you cannot seek within an MP4 file be before it is completely downloaded, the cause of this problem is that the so-called MOOV atom (which contains the seeking information) is located at the end of your video. Check out this little application to parse your videos and fix it.
Note: If the progress bar isn’t running with your FLV file, or if your video dimensions are wrong, this means that your FLV file doesn’t have metadata. Fix this by using the small tool from buraks.com.
The player supports sounds (type=sound) in the following formats:
Audio encoded with the MP3 codec. Though not as good as AAC, MP3 is very widely used. It is also support by nearly any device that can play audio.
Note: If you encounter too fast or too slow playback of MP3 files, it contains variable bitrate encoding or unsupported sample frequencies (eg 48Khz). Please stick to constant bitrate encoding and 44 kHz. The free iTunes software has an MP3 encoder built-in.
The player supports images (type=image) in the following formats:
Images encoded with the GIF algorythm. Supports transparency, but pixels can only be opaque or 100% transparent.
Note: The player does NOT support animated GIFs.
Note: Though SWF files load in the player, it is discouraged to use them. The player cannot read the duration and dimensions of SWF files. Custom scripts inside these SWF files might also interfere with (or break) playback.
The player includes native support for playing back Youtube videos (type=youtube). Youtube playback is automatically enabled when the file option is assigned to the URL of a YouTube video (e.g. http://www.youtube.com/watch?v=WuQnd3d9IuA).
The player uses the official YouTube API for this functionality, so this is definetily not a hack. Youtube officially support playback of its content in third-party players like the JW Player.
The YouTube API is accessed through a bridge, the separate yt.swf file included in the player download.
Note: In order for Youtube videos to play, you must upload the yt.swf file to the same directory as the player.swf.