Browse Source

Merge pull request #1255 from aragonc/1.11.x

fix audio scorm width and error float part 2
Alex Aragon Calixto 8 years ago
parent
commit
a6db7208d2
1 changed files with 8 additions and 1 deletions
  1. 8 1
      main/lp/lp_nav.php

+ 8 - 1
main/lp/lp_nav.php

@@ -48,7 +48,14 @@ if ($myLP) {
 }
 session_write_close();
 ?>
-
+<script>
+    $(document).ready(function() {
+        jQuery('video:not(.skip), audio:not(.skip)').mediaelementplayer({
+            success: function(player, node) {
+            }
+        });
+    });
+</script>
 <span>
     <?php echo !empty($mediaplayer) ? $mediaplayer : '&nbsp;' ?>
 </span>