aboutsummaryrefslogtreecommitdiffstats
path: root/librevideojs-html5-player.php
diff options
context:
space:
mode:
Diffstat (limited to 'librevideojs-html5-player.php')
-rw-r--r--librevideojs-html5-player.php16
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 = "