diff --git a/qa-embed-admin.php b/qa-embed-admin.php index 1cac958..014e404 100644 --- a/qa-embed-admin.php +++ b/qa-embed-admin.php @@ -15,7 +15,7 @@ function option_default($option) { case 'embed_thickbox_thumb': return 64; case 'embed_mp3_player_code': - return ''; + return ''; default: return null; } @@ -126,7 +126,7 @@ function admin_form(&$qa_content) ); $fields[] = array( - 'label' => 'mp3 flash player code', + 'label' => 'HTML5 audio player code', 'tags' => 'NAME="embed_mp3_player_code"', 'value' => qa_opt('embed_mp3_player_code'), 'type' => 'textarea', diff --git a/qa-embed-layer.php b/qa-embed-layer.php index 7f67c00..18beed8 100644 --- a/qa-embed-layer.php +++ b/qa-embed-layer.php @@ -48,28 +48,28 @@ function embed_replace($text) { 'youtube'=>array( array( 'https{0,1}:\/\/w{0,3}\.*youtube\.com\/watch\?\S*v=([A-Za-z0-9_-]+)[^< ]*', - '' + '' ), array( 'https{0,1}:\/\/w{0,3}\.*youtu\.be\/([A-Za-z0-9_-]+)[^< ]*', - '' + '' ) ), 'vimeo'=>array( array( 'https{0,1}:\/\/w{0,3}\.*vimeo\.com\/([0-9]+)[^< ]*', - '') + '') ), 'metacafe'=>array( array( 'https{0,1}:\/\/w{0,3}\.*metacafe\.com\/watch\/([0-9]+)\/([a-z0-9_]+)[^< ]*', - '' + '' ) ), 'dailymotion'=>array( array( 'https{0,1}:\/\/w{0,3}\.*dailymotion\.com\/video\/([A-Za-z0-9]+)[^< ]*', - '' + '' ) ), 'image'=>array(