Skip to content

Instantly share code, notes, and snippets.

@wimleers
Created January 15, 2011 15:16
Show Gist options
  • Save wimleers/780971 to your computer and use it in GitHub Desktop.
Save wimleers/780971 to your computer and use it in GitHub Desktop.
A very basic port of the VideoJS module for Drupal 7.
Copy from VideoJS.
Copy from VideoJS.
name = VideoJS
package = Video
core = 7.x
stylesheets[all][] = video-js.css
scripts[] = video.js
<?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