
IPlayer is a web-base FLV Player, which was created by Ian Howatson in 2006 for a project done at VDI, it has been modified over the years gaining more functionality. IPlayer was coded originally in Actionscript 1.0, then upgraded to Actionscript 2.0, future versions may look at implementing Actionscript 3.0.
Download IPlayer
| File | Version | Date | Downloads |
| IPlayer_v1.1.zip | 1.1 | 11.11.2008 |
477
|
Installation
To install IPlayer simply put the IPlayer.swf file into a web directory on your server. Then do the same with the IPlayer.js file, they don’t have to be in the same directory for example one could be in the js directory and the other could be in the flash directory the choice is yours. The rest of the files in the download package are source files and example movies, they are not needed to use IPlayer only if you are interested in modifying it.
Using IPlayer
To get IPlayer working is pretty simple, there are a few steps needed to get it working I will go through them now.
Step 1 (Adding Javascript):
Basically in this step we need to add the IPlayer.js file to the HTML page we want to display our movie on. Let’s assume that our IPlayer.js file is located in a fold on the web root called js and your HTML page is located on the web root. Remember this is an example you may change directory names, and locations to suit your needs. Now simply add this code to your page between the HEAD tags:
That is it for the step 1, now on to step 2.
Step 2 (Calling js function to load the Player)
Here is where we will implement the player on the HTML page, IPlayer uses a simple javascript function to add the flash object, and it also takes a few parameters to configure the player. Here is the code, copy and paste it between the BODY tags of the HTML page.
The function loadplayer has 7 parameters:
- Player Location: This parameter indicates where IPlayer.swf is located, in this example it is located on the web root, but as stated before it can be located anywhere in your web directories e.g. (/flash, /player, /flash/IPlayer…)
- Width: The width of the flv file.
- Height: The height of the flv file.
- Position: Where IPlayer will be placed on the page, values for this are ‘left’, ‘middle’, ‘right’
- Background Color: disabled in this version.
- Movie: The web directory where the movie is located along with the name of the movie. Once again this value is anywhere you want your flvs to be located, and remember that the path must be relative to the HTML page.
- Buffer: The amount of time the Movie will buffer before being able to start playing. In this version of IPlayer the buffer time is always 10, later version will have control of how much buffer time is used.
Step 3: More Functionality
IPlayer also has the ability to reload itself to play another movie, this is done by calling another javascript function called reloadplayer(). The function reloadplayer() is similar to the loadplayer function with less parameters. Below we will implement reloadplayer() using anchor tags.
Here is a description of the parameters used in reloadplayer:
- Movie: This is the path to the FLV relative to the HTML page. In the example above a variable was used to represent the path to the movie. You may use a string variable if you want e.g. “movie/move.flv”
- Buffer: Same as the loadplayer function 10 is the only acceptable number.
- Width: The width of the flv.
- Height: The height of the flv.
In Conclusion
That’s it for the walk through, as you can see its pretty easy to implement a simple page with a movie player on it.
The download of IPlayer contains the exact same HTML code used in the above example called example.html, it also includes all the source files as well as 2 flvs for testing purposes.
If there is any other questions please feel free to leave a comment below and I will try and help out to the best of my ability.
-=ian=-
free viagra
buy viagra online
generic viagra
how does viagra work
cheap viagra
buy viagra
buy viagra online inurl
viagra 6 free samples
viagra online
viagra for women
viagra side effects
female viagra
natural viagra
online viagra
cheapest viagra prices
herbal viagra
alternative to viagra
buy generic viagra
purchase viagra online
free viagra without prescription
viagra attorneys
free viagra samples before buying
buy generic viagra cheap
viagra uk
generic viagra online
try viagra for free
generic viagra from india
fda approves viagra
free viagra sample
what is better viagra or levitra
discount generic viagra online
viagra cialis levitra
viagra dosage
viagra cheap
viagra on line
best price for viagra
free sample pack of viagra
viagra generic
viagra without prescription
discount viagra
gay viagra
mail order viagra
viagra inurl
generic viagra online paypal
generic viagra overnight
generic viagra online pharmacy
generic viagra uk
buy cheap viagra online uk
suppliers of viagra
how long does viagra last
viagra sex
generic viagra soft tabs
generic viagra 100mg
buy viagra onli
generic viagra online without prescription
viagra energy drink
cheapest uk supplier viagra
viagra cialis
generic viagra safe
viagra professional
viagra sales
viagra free trial pack
viagra lawyers
over the counter viagra
best price for generic viagra
viagra jokes
buying viagra
viagra samples
viagra sample
cialis
generic cialis
cheapest cialis
buy cialis online
buying generic cialis
cialis for order
what are the side effects of cialis
buy generic cialis
what is the generic name for cialis
cheap cialis
cialis online
buy cialis
cialis side effects
how long does cialis last
cialis forum
cialis lawyer ohio
cialis attorneys
cialis attorney columbus
cialis injury lawyer ohio
cialis injury attorney ohio
cialis injury lawyer columbus
prices cialis
cialis lawyers
viagra cialis levitra
cialis lawyer columbus
online generic cialis
daily cialis
cialis injury attorney columbus
cialis attorney ohio
cialis cost
cialis professional
cialis super active
how does cialis work
what does cialis look like
cialis drug
viagra cialis
cialis to buy new zealand
cialis without prescription
free cialis
cialis soft tabs
discount cialis
cialis generic
generic cialis from india
cheap cialis sale online
cialis daily
cialis reviews
cialis generico
how can i take cialis
cheap cialis si
cialis vs viagra
levitra
generic levitra
levitra attorneys
what is better viagra or levitra
viagra cialis levitra
levitra side effects
buy levitra
levitra online
levitra dangers
how does levitra work
levitra lawyers
what is the difference between levitra and viagra
levitra versus viagra
which works better viagra or levitra
buy levitra and overnight shipping
levitra vs viagra
canidan pharmacies levitra
how long does levitra last
viagra cialis levitra
levitra acheter
comprare levitra
levitra ohne rezept
levitra 20mg
levitra senza ricetta
cheapest generic levitra
levitra compra
cheap levitra
levitra overnight
levitra generika
levitra kaufen




