Created
January 15, 2011 15:16
-
-
Save wimleers/780971 to your computer and use it in GitHub Desktop.
A very basic port of the VideoJS module for Drupal 7.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy from VideoJS. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Copy from VideoJS. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = VideoJS | |
package = Video | |
core = 7.x | |
stylesheets[all][] = video-js.css | |
scripts[] = video.js |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Implements hook_init(). | |
*/ | |
function videojs_init() { | |
drupal_add_js('jQuery(document).ready(function(){ VideoJS.setupAllWhenReady(); });', 'inline'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment