basic video playback support using VideoJS
This commit is contained in:
parent
04681618da
commit
fec4581f34
29 changed files with 5596 additions and 13 deletions
0
view/theme/decaf-mobile/templates/videos_end.tpl
Normal file
0
view/theme/decaf-mobile/templates/videos_end.tpl
Normal file
0
view/theme/decaf-mobile/templates/videos_head.tpl
Normal file
0
view/theme/decaf-mobile/templates/videos_head.tpl
Normal file
|
@ -389,6 +389,9 @@
|
|||
}
|
||||
/* autocomplete @nicknames */
|
||||
$j(".comment-edit-form textarea").contact_autocomplete(baseurl+"/acl");
|
||||
|
||||
// setup videos, since VideoJS won't take care of any loaded via AJAX
|
||||
_V_.autoSetup();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
2
view/theme/frost-mobile/js/main.min.js
vendored
2
view/theme/frost-mobile/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
5
view/theme/frost-mobile/templates/videos_end.tpl
Normal file
5
view/theme/frost-mobile/templates/videos_end.tpl
Normal file
|
@ -0,0 +1,5 @@
|
|||
<script src="library/video-js/video.min.js"></script>
|
||||
<script>
|
||||
_V_.options.flash.swf = "https://f.shmuz.in/library/video-js/video-js.swf"
|
||||
</script>
|
||||
|
2
view/theme/frost-mobile/templates/videos_head.tpl
Normal file
2
view/theme/frost-mobile/templates/videos_head.tpl
Normal file
|
@ -0,0 +1,2 @@
|
|||
<link href="library/video-js/video-js.min.css" rel="stylesheet">
|
||||
|
|
@ -405,6 +405,8 @@
|
|||
|
||||
collapseHeight();
|
||||
|
||||
// setup videos, since VideoJS won't take care of any loaded via AJAX
|
||||
_V_.autoSetup();
|
||||
});
|
||||
}
|
||||
|
||||
|
|
2
view/theme/frost/js/main.min.js
vendored
2
view/theme/frost/js/main.min.js
vendored
File diff suppressed because one or more lines are too long
5
view/theme/frost/templates/videos_end.tpl
Normal file
5
view/theme/frost/templates/videos_end.tpl
Normal file
|
@ -0,0 +1,5 @@
|
|||
<script src="library/video-js/video.min.js"></script>
|
||||
<script>
|
||||
_V_.options.flash.swf = "https://f.shmuz.in/library/video-js/video-js.swf"
|
||||
</script>
|
||||
|
2
view/theme/frost/templates/videos_head.tpl
Normal file
2
view/theme/frost/templates/videos_head.tpl
Normal file
|
@ -0,0 +1,2 @@
|
|||
<link href="library/video-js/video-js.min.css" rel="stylesheet">
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue