Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var options = {
- 'controls': false,
- 'techOrder': ['flash', 'html5'],
- 'children': {'controlBar': false}
- };
- videojs(videoElement, options, function() {
- var media = this;
- assign(media, 'loadedmetadata', function() {
- console.log('this never gets called');
- });
- media.src({'type': 'video/mp4', src: '/path/to/video.mp4'});
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement