Table of Contents

  1. About this script
  2. Installation
  3. Examples
  4. The Code

About this script

This script is designed to find all media links on a page and give them an inline (embedded) player.

This script requires no special code in the html, all you have to do is include a link to your video (or audio) file.

This script is designed to work even for videobloggers who dont know anything about DIV tags, IDs, classes, Javascript, or onClicks ... and who don't or can't worry about crafting specially coded links with onClicks in their posts. The script will do that for them.

I'm still working on ways to tweak/improve.

Installation

To use this script, just do the following (once):

Examples

Here is a MOV:


Here is a WMV:


Here is an MP3:
Travel.mp3

Here is an MP3 with an image:


Here is a odd sized mov:


Here is an MP3 with NO rel=enclosure:


Here is an M4A with NO rel=enclosure:


The Code

javascript source is here: media_player.js