diff options
author | Heckyel <heckyel@openmailbox.org> | 2016-12-26 22:16:52 -0500 |
---|---|---|
committer | Heckyel <heckyel@openmailbox.org> | 2016-12-26 22:16:52 -0500 |
commit | a4bd4e56dae8598728fd4c861427540e7a86db87 (patch) | |
tree | 02f81e002aa54db5b1e4a9330523977e4c45b933 | |
parent | b54d149c7c03ceaba8fd23a7680e731a7950ab79 (diff) | |
download | librevideojs-html5-player-a4bd4e56dae8598728fd4c861427540e7a86db87.tar.lz librevideojs-html5-player-a4bd4e56dae8598728fd4c861427540e7a86db87.tar.xz librevideojs-html5-player-a4bd4e56dae8598728fd4c861427540e7a86db87.zip |
Sugerencias aplicadas por Jorge Maldonado Ventura
-rw-r--r-- | librevideojs-html5-player.php | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/librevideojs-html5-player.php b/librevideojs-html5-player.php index 9250d35..306e86d 100644 --- a/librevideojs-html5-player.php +++ b/librevideojs-html5-player.php @@ -185,7 +185,7 @@ function librevideojs_html5_video_embed_handler($atts, $content=null) { } // Calidades - if(!is_null( $content = "" )){ + if(!is_null( $content = '' )){ $calidades = do_shortcode($content); } else{ @@ -194,7 +194,7 @@ function librevideojs_html5_video_embed_handler($atts, $content=null) { //poster if(!empty($poster)) { - $poster = ' poster="'.$poster.'"'; + $poster = " poster='$poster'"; } $player = "librevideojs" . uniqid(); @@ -238,19 +238,19 @@ function track_shortcode($atts, $content=null){ ), $atts)); if($kind){ - $kind = " kind='" . $kind . "'"; + $kind = " kind='$kind'"; } if($subt){ - $subt = " src='" . $subt . "'"; + $subt = " src='$subt'"; } if($srclang){ - $srclang = " srclang='" . $srclang . "'"; + $srclang = " srclang='$srclang'"; } if($label){ - $label = " label='" . $label . "'"; + $label = " label='$label'"; } if($default == "true" || $default == "default"){ @@ -278,10 +278,10 @@ function calidades_shortcode($atts, $content=null){ ), $atts)); if ($lvjs_calidad) { - $lvjs_calidad = " data-res='" . $lvjs_calidad . "' "; + $lvjs_calidad = " data-res='$lvjs_calidad'"; } if ($src_video) { - $src_video = " src='" .$src_video . "' "; + $src_video = " src='$src_video'"; } $calidades = " |