Browse Source

mediaelement

windhamdavid 3 years ago
parent
commit
23d81515f5
3 changed files with 32 additions and 0 deletions
  1. 3 0
      functions.php
  2. 28 0
      js/mediaelement-and-player.min.js
  3. 1 0
      js/wp-mediaelement.min.js

+ 3 - 0
functions.php

@@ -182,10 +182,13 @@ function dw_scripts() {
 	}
 	
 	else {
+		//wp_deregister_script('mediaelement');
 		wp_enqueue_script( 'scriptmin', get_template_directory_uri() . '/js/script.min.js', '', '', true );
 		//wp_enqueue_script( 'script-o-min', get_template_directory_uri() . '/js/script-o.min.js', 'jquery', '', true );
 		wp_enqueue_script( 'init-o', get_template_directory_uri() . '/js/init-o.min.js', '', '', true );
 		//wp_enqueue_script( 'init-o-min', get_template_directory_uri() . '/js/init-o.min.js', 'jquery', '', true );
+		wp_enqueue_script( 'mediaelement-me', get_template_directory_uri() .'/js/mediaelement-and-player.min.js', '', '', true);
+		wp_enqueue_script( 'mediaelement-wp', get_template_directory_uri() .'/js/wp-mediaelement.min.js', '', '', true);
 	}
 			
 }

File diff suppressed because it is too large
+ 28 - 0
js/mediaelement-and-player.min.js


File diff suppressed because it is too large
+ 1 - 0
js/wp-mediaelement.min.js