Music Player for WooCommerce - Version 1.0.184

Version Description

  • Loads the resources locally.
Download this release

Release Info

Developer codepeople
Plugin Icon 128x128 Music Player for WooCommerce
Version 1.0.184
Comparing to
See all releases

Code changes from version 1.0.183 to 1.0.184

readme.txt CHANGED
@@ -4,7 +4,7 @@ Donate link: https://wcmp.dwbooster.com
4
  Tags:WooCommerce,music player,audio,music,song,player,audio player,media player,mp3,m3u,m3u8,wav,oga,ogg,dokan,wcfm
5
  Requires at least: 3.5.0
6
  Tested up to: 6.1
7
- Stable tag: 1.0.183
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -226,6 +226,10 @@ Each time save the data of a product, the files for demo are deleted and generat
226
 
227
  == Changelog ==
228
 
 
 
 
 
229
  = 1.0.183 =
230
 
231
  * Checks if the shell_exec function is available before calling it.
4
  Tags:WooCommerce,music player,audio,music,song,player,audio player,media player,mp3,m3u,m3u8,wav,oga,ogg,dokan,wcfm
5
  Requires at least: 3.5.0
6
  Tested up to: 6.1
7
+ Stable tag: 1.0.184
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
226
 
227
  == Changelog ==
228
 
229
+ = 1.0.184 =
230
+
231
+ * Loads the resources locally.
232
+
233
  = 1.0.183 =
234
 
235
  * Checks if the shell_exec function is available before calling it.
vendors/mejs-skins/controls-ted.png ADDED
Binary file
vendors/mejs-skins/controls-wmp-bg.png ADDED
Binary file
vendors/mejs-skins/controls-wmp.png ADDED
Binary file
vendors/mejs-skins/mejs-skins.min.css ADDED
@@ -0,0 +1 @@
 
1
+ .mejs-ted .mejs-controls{background:#eee;height:65px}.mejs-ted .mejs-button,.mejs-ted .mejs-time{position:absolute;background:#ddd}.mejs-ted .mejs-controls .mejs-time-rail .mejs-time-loaded,.mejs-ted .mejs-controls .mejs-time-rail .mejs-time-total{background:url(controls-ted.png) 0 -52px repeat-x;height:6px}.mejs-ted .mejs-controls .mejs-time-rail .mejs-time-buffering{height:6px}.mejs-ted .mejs-controls .mejs-time-rail .mejs-time-loaded{width:0}.mejs-ted .mejs-controls .mejs-time-rail .mejs-time-current{width:0;height:6px;background:url(controls-ted.png) 0 -59px repeat-x}.mejs-ted .mejs-controls .mejs-time-rail .mejs-time-handle{display:block;margin:0;width:14px;height:21px;top:-7px;border:0;background:url(controls-ted.png) no-repeat}.mejs-ted .mejs-controls .mejs-captions-button,.mejs-ted .mejs-controls .mejs-time-rail .mejs-time-float,.mejs-ted .mejs-controls .mejs-volume-button .mejs-volume-handle{display:none}.mejs-ted .mejs-controls .mejs-playpause-button{top:29px;left:9px;width:49px;height:28px}.mejs-ted .mejs-controls .mejs-playpause-button button{width:49px;height:28px;background:url(controls-ted.png) -50px -23px no-repeat;margin:0;padding:0}.mejs-ted .mejs-controls .mejs-pause button{background-position:0 -23px}.mejs-ted .mejs-controls .mejs-fullscreen-button{top:34px;right:9px;width:17px;height:15px;background:0 0}.mejs-ted .mejs-controls .mejs-fullscreen-button button{width:19px;height:17px;background:url(controls-ted.png) 0 -66px no-repeat;margin:0;padding:0}.mejs-ted .mejs-controls .mejs-unfullscreen button{background:url(controls-ted.png) -21px -66px no-repeat;margin:0;padding:0}.mejs-ted .mejs-controls .mejs-volume-button{top:30px;right:35px;width:24px;height:22px}.mejs-ted .mejs-controls .mejs-mute button{background:url(controls-ted.png) -15px 0 no-repeat;width:24px;height:22px;margin:0;padding:0}.mejs-ted .mejs-controls .mejs-unmute button{background:url(controls-ted.png) -40px 0 no-repeat;width:24px;height:22px;margin:0;padding:0}.mejs-ted .mejs-controls .mejs-volume-button .mejs-volume-slider{background:#fff;border:1px solid #aaa;border-width:1px 1px 0;width:22px;height:65px;top:-65px}.mejs-ted .mejs-controls .mejs-volume-button .mejs-volume-total{background:url(controls-ted.png) -41px -66px repeat-y;left:8px;width:6px;height:50px}.mejs-ted .mejs-controls .mejs-volume-button .mejs-volume-current{left:8px;width:6px;background:url(controls-ted.png) -48px -66px repeat-y;height:50px}.mejs-ted .mejs-controls .mejs-time span{color:#333}.mejs-ted .mejs-controls .mejs-currenttime-container{position:absolute;top:32px;right:100px;border:1px solid #999;background:#fff;padding-top:2px;border-radius:3px;color:#333}.mejs-ted .mejs-controls .mejs-duration-container{position:absolute;top:32px;right:65px;border:1px solid #999;background:#fff;padding-top:2px;border-radius:3px;color:#333}.mejs-ted .mejs-controls .mejs-time button{color:#333}.mejs-wmp .mejs-controls{background:url(controls-wmp-bg.png) center 16px no-repeat;height:65px}.mejs-wmp .mejs-button,.mejs-wmp .mejs-time{position:absolute;background:0 0}.mejs-wmp .mejs-controls .mejs-time-rail .mejs-time-total{background-color:transparent;border:1px solid #ccc;height:3px}.mejs-wmp .mejs-controls .mejs-time-rail .mejs-time-buffering{height:3px}.mejs-wmp .mejs-controls .mejs-time-rail .mejs-time-loaded{background-color:rgba(255,255,255,.3);width:0;height:3px}.mejs-wmp .mejs-controls .mejs-time-rail .mejs-time-current{width:0;height:1px;background-color:#014CB6;border:1px solid #7FC9FA;border-width:1px 0;border-color:#7FC9FA #fff #619FF2}.mejs-wmp .mejs-controls .mejs-time-rail .mejs-time-handle{display:block;margin:0;width:16px;height:9px;top:-3px;border:0;background:url(controls-wmp.png) 0 -80px no-repeat}.mejs-wmp .mejs-controls .mejs-captions-button,.mejs-wmp .mejs-controls .mejs-time-rail .mejs-time-float{display:none}.mejs-wmp .mejs-controls .mejs-playpause-button{top:10px;left:50%;margin:10px 0 0 -20px;width:40px;height:40px}.mejs-wmp .mejs-controls .mejs-playpause-button button{width:40px;height:40px;background:url(controls-wmp.png) no-repeat;margin:0;padding:0}.mejs-wmp .mejs-controls .mejs-pause button{background-position:0 -40px}.mejs-wmp .mejs-controls .mejs-currenttime-container{position:absolute;top:25px;left:50%;margin-left:-93px}.mejs-wmp .mejs-controls .mejs-duration-container{position:absolute;top:25px;left:50%;margin-left:-58px}.mejs-wmp .mejs-controls .mejs-volume-button{top:32px;right:50%;margin-right:-55px;width:20px;height:15px}.mejs-wmp .mejs-controls .mejs-volume-button button{margin:0;padding:0;background:url(controls-wmp.png) -42px -17px no-repeat;width:20px;height:15px}.mejs-wmp .mejs-controls .mejs-unmute button{margin:0;padding:0;background:url(controls-wmp.png) -42px 0 no-repeat;width:20px;height:15px}.mejs-wmp .mejs-controls .mejs-volume-button .mejs-volume-slider{background:rgba(102,102,102,.6)}.mejs-wmp .mejs-controls .mejs-fullscreen-button{top:32px;right:50%;margin-right:-82px;width:15px;height:14px}.mejs-wmp .mejs-controls .mejs-fullscreen-button button{margin:0;padding:0;background:url(controls-wmp.png) -63px 0 no-repeat;width:15px;height:14px}
wcmp.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Music Player for WooCommerce
4
  Plugin URI: https://wcmp.dwbooster.com
5
- Version: 1.0.183
6
  Text Domain: music-player-for-woocommerce
7
  Author: CodePeople
8
  Author URI: https://wcmp.dwbooster.com
@@ -30,7 +30,7 @@ define( 'WCMP_DEFAULT_PLAYER_VOLUME', 1 );
30
  define( 'WCMP_DEFAULT_PLAYER_CONTROLS', 'default' );
31
  define( 'WCMP_DEFAULT_PlAYER_TITLE', 1 );
32
  define( 'WCMP_REMOTE_TIMEOUT', 120 );
33
- define( 'WCMP_VERSION', '1.0.183' );
34
 
35
  // Load widgets
36
  require_once 'widgets/playlist_widget.php';
@@ -451,7 +451,7 @@ if ( ! class_exists( 'WooCommerceMusicPlayer' ) ) {
451
 
452
  // Registering resources
453
  wp_enqueue_style( 'wp-mediaelement' );
454
- wp_enqueue_style( 'wp-mediaelement-skins', 'https://cdnjs.cloudflare.com/ajax/libs/mediaelement/2.23.5/mejs-skins.min.css', array(), WCMP_VERSION );
455
  wp_enqueue_style( 'wcmp-style', plugin_dir_url( __FILE__ ) . 'css/style.css', array(), WCMP_VERSION );
456
  wp_enqueue_script( 'jquery' );
457
  wp_enqueue_script( 'wp-mediaelement' );
2
  /*
3
  Plugin Name: Music Player for WooCommerce
4
  Plugin URI: https://wcmp.dwbooster.com
5
+ Version: 1.0.184
6
  Text Domain: music-player-for-woocommerce
7
  Author: CodePeople
8
  Author URI: https://wcmp.dwbooster.com
30
  define( 'WCMP_DEFAULT_PLAYER_CONTROLS', 'default' );
31
  define( 'WCMP_DEFAULT_PlAYER_TITLE', 1 );
32
  define( 'WCMP_REMOTE_TIMEOUT', 120 );
33
+ define( 'WCMP_VERSION', '1.0.184' );
34
 
35
  // Load widgets
36
  require_once 'widgets/playlist_widget.php';
451
 
452
  // Registering resources
453
  wp_enqueue_style( 'wp-mediaelement' );
454
+ wp_enqueue_style( 'wp-mediaelement-skins', plugin_dir_url( __FILE__ ) . 'vendors/mejs-skins/mejs-skins.min.css', array(), WCMP_VERSION );
455
  wp_enqueue_style( 'wcmp-style', plugin_dir_url( __FILE__ ) . 'css/style.css', array(), WCMP_VERSION );
456
  wp_enqueue_script( 'jquery' );
457
  wp_enqueue_script( 'wp-mediaelement' );