function load_player($attributes, $config, $players){
//$media = 'video'; comment out this line
$media = array();
$media[0] = 'video';
//now change the variables inside of this function $media to $media[0]
}
next...
private function playlist( $attributes, $media , $style ) {
//find the variable $obj = '';
//change it to
$obj = array();
}
I believe this is not the complete solution. I only used the playlist features for video and audio using the generated shortcode.