diff --git a/modules/islandora_videojs/islandora_videojs.module b/modules/islandora_videojs/islandora_videojs.module index 10736c75..6bacaf22 100644 --- a/modules/islandora_videojs/islandora_videojs.module +++ b/modules/islandora_videojs/islandora_videojs.module @@ -41,6 +41,9 @@ function islandora_videojs_theme_registry_alter(&$theme_registry) { } +/** +* videojs theme override +*/ function islandora_videojs_theme($existing, $type, $theme, $path) { $transcript_urls = get_transcript_urls(); return array( @@ -51,7 +54,9 @@ function islandora_videojs_theme($existing, $type, $theme, $path) { ); } - +/** +* returns the urls of the transcript of a repository item +*/ function get_transcript_urls() { // Get the nid $node = \Drupal::routeMatch()->getParameter('node');