| @@ -2,9 +2,9 @@ | ||
| 2 | 2 | /** |
| 3 | 3 | * Plugin Name: WpStream - Live Streaming, Video on Demand, Pay Per View |
| 4 | 4 | * Plugin URI: http://wpstream.net |
| 5 | 5 | * Description: WpStream is a platform that allows you to live stream, create Video-on-Demand, and offer Pay-Per-View videos. We provide an affordable and user-friendly way for businesses, non-profits, and public institutions to broadcast their content and monetize their work. |
| 6 | - * Version: 4.13 | |
| 6 | + * Version: 4.11.1 | |
| 7 | 7 | * Author: wpstream |
| 8 | 8 | * Author URI: http://wpstream.net |
| 9 | 9 | * Text Domain: wpstream |
| 10 | 10 | * Domain Path: /languages/ |
| @@ -13,9 +13,9 @@ | ||
| 13 | 13 | // If this file is called directly, abort. |
| 14 | 14 | if ( ! defined( 'WPINC' ) ) { |
| 15 | 15 | die; |
| 16 | 16 | } |
| 17 | -define('WPSTREAM_PLUGIN_VERSION', '4.13'); | |
| 17 | +define('WPSTREAM_PLUGIN_VERSION', '4.11.1'); | |
| 18 | 18 | define('WPSTREAM_CLUBLINK', 'wpstream.net'); |
| 19 | 19 | define('WPSTREAM_CLUBLINKSSL', 'https'); |
| 20 | 20 | define('WPSTREAM_PLUGIN_URL', plugins_url() ); |
| 21 | 21 | define('WPSTREAM_PLUGIN_DIR_URL', plugin_dir_url(__FILE__) ); |
| @@ -26,14 +26,8 @@ | ||
| 26 | 26 | } |
| 27 | 27 | if ( !defined( 'WPSTREAM_CLICK' ) ) { |
| 28 | 28 | define( 'WPSTREAM_CLICK', 'https://click.wpstream.net' ); |
| 29 | 29 | } |
| 30 | -if ( !defined( 'WPSTREAM_PLAYER') ) { | |
| 31 | - define ( 'WPSTREAM_PLAYER', 'https://player.wpstream.net' ); | |
| 32 | -} | |
| 33 | -if ( !defined( 'LIVE_PLAYER_URL_PREFIX' ) ) { | |
| 34 | - define('LIVE_PLAYER_URL_PREFIX', 'https://player.wpstream.net/player/live'); | |
| 35 | -} | |
| 36 | 30 | |
| 37 | 31 | |
| 38 | 32 | define('WPSTREAM_TIMEOUT_CONST', 20); // in seconds |
| 39 | 33 | |
| @@ -229,15 +223,12 @@ | ||
| 229 | 223 | * |
| 230 | 224 | * Check integrations |
| 231 | 225 | * |
| 232 | 226 | */ |
| 233 | -if ( get_template() === 'hello-wpstream' ) { | |
| 234 | - require_once plugin_dir_path( __FILE__ ) . 'integrations/hello-wpstream/theme-import.php'; | |
| 235 | - add_filter( 'pt-ocdi/import_files', 'wpstream_ocdi_import_files' ); | |
| 236 | - add_action( 'pt-ocdi/after_import', 'wpstream_ocdi_after_import_setup' ); | |
| 237 | - add_filter( 'pt-ocdi/plugin_intro_text', 'wpstream_ocdi_plugin_intro_text' ); | |
| 238 | - add_action( 'ocdi/before_content_import', 'wpstream_track_ocdi_import_attempt', 10, 1 ); | |
| 239 | -} | |
| 227 | +require_once plugin_dir_path(__FILE__) . 'integrations/hello-wpstream/theme-import.php'; | |
| 228 | +add_filter('pt-ocdi/import_files', 'ocdi_import_files'); | |
| 229 | +add_action('pt-ocdi/after_import', 'ocdi_after_import_setup'); | |
| 230 | +add_filter('pt-ocdi/plugin_intro_text', 'ocdi_plugin_intro_text'); | |
| 240 | 231 | |
| 241 | 232 | |
| 242 | 233 | add_action( 'plugins_loaded', 'wpstream_check_integrations' ); |
| 243 | 234 | |