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 | admin/class-wpstream-admin.php +24 -21 4.4.84.4.10 View file →
@@ -1137,14 +1137,22 @@
1137 1137 ),
1138 1138
1139 1139 12 => array(
1140 1140 'tab' => 'messages_options',
1141 - 'label' => esc_html__('Thank you message','wpstream'),
1141 + 'label' => esc_html__('Subscription Active message','wpstream'),
1142 1142 'name' => 'subscription_active',
1143 1143 'type' => 'text',
1144 1144 'details' => esc_html__('This message will be displayed on subscription product page.','wpstream'),
1145 1145 'default' => esc_html__('Your Subscription is Active','wpstream'),
1146 1146 ),
1147 + 13 => array(
1148 + 'tab' => 'messages_options',
1149 + 'label' => esc_html__('You are not live message','wpstream'),
1150 + 'name' => 'you_are_not_live',
1151 + 'type' => 'text',
1152 + 'details' => esc_html__('This message will be displayed in player.','wpstream'),
1153 + 'default' => esc_html__('We are not live at this moment. Please check back later.','wpstream'),
1154 + ),
1147 1155
1148 1156 99 => array(
1149 1157 'tab' => 'default_options',
1150 1158 'label' => esc_html__('Events Options ','wpstream'),
@@ -1251,9 +1259,9 @@
1251 1259 }
1252 1260
1253 1261
1254 1262
1255 - print '> <span class="slider round"></span>';
1263 + print '> <span class="wpstream_slider round"></span>';
1256 1264 print '</label>';
1257 1265 print '<div class="settings_details">'.$option['details'].'</div>';
1258 1266 }
1259 1267 print '</div>';
@@ -1299,9 +1307,9 @@
1299 1307 }
1300 1308 }
1301 1309
1302 1310
1303 - print '> <span class="slider round"></span>';
1311 + print '> <span class="wpstream_slider round"></span>';
1304 1312 print '</label>';
1305 1313 print '<div class="settings_details">'.$option['details'].'</div>';
1306 1314
1307 1315
@@ -1408,9 +1416,9 @@
1408 1416 print '<div class="theme_options_tab_wpstream" style="display:block;" >
1409 1417 <h1>'.__('WpStream Credentials','wpstream').'</h1>';
1410 1418
1411 1419
1412 - if( get_option('wpstream_api_username')=='' || get_option('wpstream_api_password')== ' '){
1420 + if( get_option('wpstream_api_username')=='' || get_option('wpstream_api_password')== '' ){
1413 1421 echo '<div class="api_not_conected wpstream_orange">';
1414 1422 $admin_url_onboard=get_admin_url().'admin.php?page=wpstream_onboard';
1415 1423 printf ( __('To connect your plugin, enter your WpStream credentials below or go <a href="%s" target="_blank">here</a> to create an account.','wpstream'),$admin_url_onboard);
1416 1424 echo '</div>';
@@ -1546,17 +1554,20 @@
1546 1554 public function wpstream_present_media_upload(){
1547 1555 $to_return='';
1548 1556 $formInputs=$this->main->wpstream_live_connection->wpstream_get_signed_form_upload_data();
1549 1557
1550 -
1551 1558
1559 +
1552 1560
1553 - if($formInputs['success'] === 'notenough'){
1554 - $to_return.='<div class="wpstream_upload_alert">'.esc_html__('You do not have enough streaming data or storage to upload a video!','wpstream').'</div>';
1561 + if( !$formInputs['success'] ){
1562 + $to_return.='<div class="wpstream_upload_alert">'.esc_html__('There isn\'t enough storage space under your account to upload a new item. Please delete some videos or upgrade your subscription.','wpstream').'</div>';
1555 1563 return $to_return;
1556 1564 }
1557 1565
1558 - if($formInputs['success'] ===true):
1566 + if($formInputs['success'] ===true){
1567 +
1568 +
1569 +
1559 1570 $to_return.='<div class="wpstream_upload_container">';
1560 1571 $to_return.='<div id="wpstream_uploaded_mes">'.esc_html__('Please select or drop a video file. Do not close this window during the upload!','wpstream').'</div>';
1561 1572 $to_return.='<form action="https://wpstream-video.s3.amazonaws.com/"
1562 1573 method="POST"
@@ -1588,9 +1599,9 @@
1588 1599 <div class="progress-bar-area"></div></div>
1589 1600 </form>';
1590 1601
1591 1602 $to_return.='</div>';
1592 - endif;
1603 + }
1593 1604
1594 1605 return $to_return;
1595 1606
1596 1607 }
@@ -2295,12 +2306,9 @@
2295 2306 <img class="wpstream_onboarding_logo" src="<?php echo esc_url($thumb); ?>" />
2296 2307
2297 2308 <h1><?php print esc_html__('WpStream','wpstream').' <span class="header_special">'.esc_html__('Quick Start','wpstream').'</span>';?></h1>
2298 2309
2299 - <?php
2300 - if( !wp_is_mobile()){
2301 - ?>
2302 -
2310 +
2303 2311 <p>
2304 2312 <?php esc_html_e('The quick start guide will help you set up Live Streaming, Video On Demand, and Monetization in a fun and interactive way. Give it a shot! ','wpstream');?>
2305 2313 </p>
2306 2314
@@ -2305,18 +2313,14 @@
2305 2313 </p>
2306 2314
2307 2315 <div id="wpstream_trigger_quick_start" class="wpstream_button wpstream_button_action"><?php esc_html_e('Start the Guide','wpstream');?></div>
2308 2316
2309 - <?php }else{
2310 - print'<p>'.esc_html__('The quick start guide is not working on mobile devices','wpstream').'</p>';
2311 - } ?>
2317 +
2312 2318
2313 2319 </div>
2314 2320
2315 2321
2316 - <?php
2317 - if( !wp_is_mobile()){
2318 - ?>
2322 +
2319 2323 <script type="text/javascript">
2320 2324 //<![CDATA[
2321 2325 jQuery(document).ready(function(){
2322 2326 jQuery(".wpstream_on_boarding_wrapper").show();
@@ -2326,10 +2330,9 @@
2326 2330 //]]>
2327 2331 </script>
2328 2332
2329 2333 <?php
2330 - }//end is mobile
2331 -
2334 +
2332 2335 }
2333 2336
2334 2337
2335 2338