summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJorrit Schippers2012-06-12 15:35:10 (GMT)
committer Jorrit Schippers2012-06-12 15:35:10 (GMT)
commit06b238a10733a74e97e602ef9bc8f5dfcd12767c (patch)
tree5692f16941d1cefa161e0ff5ff9d6247a5b0df32
parentc2af838e6b9e9ffc24a44edf2bc81e0fa9392261 (diff)
Support for m3u8 files with the application/vnd.apple.mpegurl mime type.6.x-2.2
-rw-r--r--includes/videojs.theme.inc4
1 files changed, 3 insertions, 1 deletions
diff --git a/includes/videojs.theme.inc b/includes/videojs.theme.inc
index 6521190..de93b51 100644
--- a/includes/videojs.theme.inc
+++ b/includes/videojs.theme.inc
@@ -7,7 +7,7 @@
/**
* Preprocess function for videojs.tpl.php when using a playlist.
*/
-function template_preprocess_videojs_formatter_videojs(&$vars) {
+function videojs_preprocess_videojs_formatter_videojs(&$vars) {
$field_name = $vars['element']['#field_name'];
$node = $vars['element']['#node'];
@@ -144,6 +144,8 @@ function _videojs_get_filetype($filemime) {
return 'audio/mpeg';
case 'audio/ogg':
return 'audio/ogg';
+ case 'application/vnd.apple.mpegurl':
+ return 'application/vnd.apple.mpegurl';
}
return NULL;