PluginProbe
WpStream – Live Streaming, Video on Demand, Pay Per View / 4.4.10
WpStream – Live Streaming, Video on Demand, Pay Per View v4.4.10
4.14.1 4.14.0 4.13.2 4.13.1 4.13 4.12.5 4.12.4 4.12.3 4.12.2 4.12.1 4.12 4.4.4 4.4.5 4.4.6 4.4.7 4.4.8 4.4.9 4.5 4.5.1 4.5.11 4.5.11.1 4.5.11.2 4.5.11.4 4.5.11.5 4.5.11.6 All 181 releases
← All changes | includes/class-wpstream-player.php +6 -6 4.4.7 → 4.4.10 View file →
@@ -364,10 +364,10 @@
364 364
365 365 $show_wpstream_not_live_mess='';
366 366 }
367 367
368 -
369 - print '<div class="wpstream_not_live_mess" '.$show_wpstream_not_live_mess.'><div class="wpstream_not_live_mess_back"></div><div class="wpstream_not_live_mess_mess">'.esc_html__('We are not live at this moment. Please check back later.','wpstream').'</div></div>';
368 + $message_show= esc_html( get_option('wpstream_you_are_not_live','We are not live at this moment. Please check back later.')) ;
369 + print '<div class="wpstream_not_live_mess" '.$show_wpstream_not_live_mess.'><div class="wpstream_not_live_mess_back"></div><div class="wpstream_not_live_mess_mess">'.esc_html($message_show).'</div></div>';
370 370
371 371 $poster_data='';
372 372 if(isset($thumb[0])){
373 373 $poster_data=' poster="'.$thumb[0].'" ';
@@ -480,10 +480,10 @@
480 480 if(trim($hls_playback_url) ==''){
481 481 $show_wpstream_not_live_mess='';
482 482 }
483 483
484 -
485 - print '<div class="wpstream_not_live_mess " '.$show_wpstream_not_live_mess.' ><div class="wpstream_not_live_mess_back"></div><div class="wpstream_not_live_mess_mess">'.esc_html__('We are not live at this moment. Please check back later.','wpstream').'</div></div>';
484 + $message_show= esc_html( get_option('wpstream_you_are_not_live','We are not live at this moment. Please check back later.')) ;
485 + print '<div class="wpstream_not_live_mess " '.$show_wpstream_not_live_mess.' ><div class="wpstream_not_live_mess_back"></div><div class="wpstream_not_live_mess_mess">'. $message_show.'</div></div>';
486 486
487 487
488 488 $poster_data=' poster="'.$thumb[0].'" ';
489 489 if($poster_show=='no'){
@@ -648,9 +648,9 @@
648 648 */
649 649
650 650
651 651 $free_video_type = intval( get_post_meta($product_id, 'wpstream_product_type', true));
652 - if( ( is_singular('wpstream_product_vod') && $free_video_type==2 ) || get_post_type($product_id)=='product' ){
652 + if( ( get_post_type($product_id)=='wpstream_product_vod' && $free_video_type==2 ) || get_post_type($product_id)=='product' ){
653 653
654 654 /*
655 655 * IF vide is encrypted- readed from vod,streaner
656 656 *
@@ -664,9 +664,9 @@
664 664 }
665 665 $video_path_final = $this->wpstream_request_video_on_demand_hls_player($video_path,$product_id);
666 666
667 667
668 - }else if( is_singular('wpstream_product_vod') && $free_video_type==3 ){
668 + }else if( get_post_type($product_id)=='wpstream_product_vod' && $free_video_type==3 ){
669 669
670 670 /* Video is unecrypted - read from local or youtube / vimeo
671 671 */
672 672