PluginProbe
WpStream – Live Streaming, Video on Demand, Pay Per View / 1.2
WpStream – Live Streaming, Video on Demand, Pay Per View v1.2
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 4.5.12 All 180 releases
← All changes | wpstream.php +16 -4 1.11.2 View file →
@@ -2,9 +2,9 @@
2 2 /**
3 3 * Plugin Name: WpStream
4 4 * Plugin URI: wpstream.net
5 5 * Description: WpStream is a wordpress plugin to help you stream & monetize media content.
6 - * Version: 1.1
6 + * Version: 1.2
7 7 * Author: wpstream.net
8 8 * Author URI: https://wpstream.net
9 9 * Developer: WpStream
10 10 * Developer URI: https://wpstream.net
@@ -172,11 +172,8 @@
172 172 }
173 173 }
174 174
175 175
176 -https://18474-1530262243.live.streamer.wpstream.net/hls/xKbbe6q7c4zKnt9ubJyuBVc7gO9CpB6X.m3u8 e
177 -
178 -
179 176 function wpstream_live_event_player($product_id){
180 177 $live_event_uri = get_post_meta($product_id,'live_event_uri',true);
181 178 $thumb_id = get_post_thumbnail_id($product_id);
182 179 $thumb = wp_get_attachment_image_src($thumb_id,'small');
@@ -234,8 +231,23 @@
234 231 </p>
235 232 </video>';
236 233
237 234 }
235 +
236 +
237 +
238 +add_filter('display_post_states', 'wpstream_custom_post_states',10,2);
239 +
240 +function wpstream_custom_post_states( $states, $post ) {
241 + $title =strtolower( get_the_title($post->ID));
242 + if ( ( 'page' == get_post_type( $post->ID ) ) && ( $title ==='userkey' || $title ==='vodkey' || $title ==='wpstream' )) {
243 + $states[] = __('by WpStream - do not delete','wpstream');
244 + }
245 +
246 + return $states;
247 +}
248 +
249 +
238 250
239 251
240 252
241 253