I noticed in the documentation that you can override the default player using the

player="simpleviewer"

But I couldn't workout where abouts this got passed in the swf_list function. Any clues?

Andy

Comments

sime’s picture

Just use simpleviewer_swf_list() the same way you'd use swf_list().

andykemp’s picture

Title: Overiding default playerin PHP? » Overiding default player in PHP?
Status: Active » Closed (fixed)

In case anyone else in looking to do this here are some of the override functions:

wijering_mediaplayer_swf_list()
wijering_imagerotator_swf_list()
simpleviewer_swf_list()

The functions are in the submodules for each player, and well documented! Sorry I should have looked there in the first place!

Cheers
Andy

sime’s picture

You'll find I've tried to document the code quite well, but I admit that isn't a replacement for good docs in the handbook but they will come.

You'll see those functions don't do much, they just set the appropriate variable on the 5th parameter. Eg. array('player'=>'simpleviewer').