JW FLV Media Player v.4.x - Javascript API Tutorial Example Collection
The player homepage:
JW FLV Media Player
Bringing a JW FLV Media Player v.4.x on a page
(using
swfobject v.2.1)
The Embedding script
The simple plain default player
Without controlbar
Only a controlbar
Controlbar overlaid
Playlist below
Playlist to the right
Playlist overlaid
Simultaneous players
Mutually exclusive players
XHTML validating page
Object and/or Embed
Full object/embed
Only embed
Manipulate the player wrapper
Show, hide, move, resize and restore the player wrapper
Hide, move and restore the player wrapper
Change aspect ratio and size
Show and hide the playlist onmouseover
Show the bottom playlist onmouseover
Show the rightside playlist onmouseover
Setting the flashvars
Create and delete the player
Create and play from script or link
Link-playlist
Playlist links
All flashvars
Transfer settings with the URL request
Use the # anchor
Use the ? search
Parsing multiple flashvars using swfobject
Calculated settings
Random Preview image
Random logo image
Changing skin
Invoking the listeners
The function playerReady
Get the player data
Get the configuration data
Get the playlist data
Get the listener data
The ControllerListeners
(ex: get currently playing item data)
The ModelListeners
(ex: redirect after playing)
The ViewListeners
(ex: show volume and position)
All the Listeners
Calling the player
External javascript control
Load file or playlist from link or script
Load media files
Load and move
(ex: mutex players)
Load playlists
Assemble playlists in memory
Combining External control and Listener feedback
Increment volume and position
(ex: scrubbing)
External javascript control and playlist item manipulation
Tips and tricks
Layering
Masking the player
Matting the background
Frames
Crossframe control
iFrame control
iFrame parent control
Popup window
Execute JavaScript functions
Function calls from the flashvar link
Function calls from the playlist links