/** * Render video * * Shortcode handler for BC Video embeds * * @since 1.0 * * @param array $atts Array of shortcode parameters. * * @return string HTML for displaying shortcode. */ public static function bc_playlist($atts) { $defaults = array('player_id' => 'default', 'account_id' => '', 'playlist_id' => '', 'height' => 0, 'width' => 0); $atts = shortcode_atts($defaults, $atts, 'bc_playlist'); return BC_Utility::player('playlist', $atts['playlist_id'], $atts['account_id'], $atts['player_id'], $atts['width'], $atts['height']); }