Fix whitespace
All files should use 2-space indenting.
Showing
9 changed files
with
7 additions
and
4 deletions
... | @@ -52,7 +52,7 @@ | ... | @@ -52,7 +52,7 @@ |
52 | videojs.options.flash.swf = 'node_modules/videojs-media-sources/video-js-with-mse.swf'; | 52 | videojs.options.flash.swf = 'node_modules/videojs-media-sources/video-js-with-mse.swf'; |
53 | video = videojs('video',{},function(){ | 53 | video = videojs('video',{},function(){ |
54 | this.playbackController = new window.videojs.hls.HLSPlaybackController(this); | 54 | this.playbackController = new window.videojs.hls.HLSPlaybackController(this); |
55 | this.playbackController.loadManifest("http://localhost:7070/test/basic-playback/zencoder/gogo/manifest.m3u8",function(data){console.log(data)}); | 55 | this.playbackController.loadManifest('http://localhost:7070/test/basic-playback/zencoder/gogo/manifest.m3u8',function(data){console.log(data)}); |
56 | }); | 56 | }); |
57 | </script> | 57 | </script> |
58 | 58 | ... | ... |
1 | window.videojs.hls.m3u8TagType = { | 1 | (function(window) { |
2 | window.videojs.hls.m3u8TagType = { | ||
2 | /* | 3 | /* |
3 | * Derived from V8: http://tools.ietf.org/html/draft-pantos-http-live-streaming-08 | 4 | * Derived from V8: http://tools.ietf.org/html/draft-pantos-http-live-streaming-08 |
4 | */ | 5 | */ |
... | @@ -108,4 +109,5 @@ window.videojs.hls.m3u8TagType = { | ... | @@ -108,4 +109,5 @@ window.videojs.hls.m3u8TagType = { |
108 | */ | 109 | */ |
109 | ZEN_TOTAL_DURATION: "#ZEN-TOTAL-DURATION:" | 110 | ZEN_TOTAL_DURATION: "#ZEN-TOTAL-DURATION:" |
110 | 111 | ||
111 | }; | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
112 | }; | ||
113 | })(this); | ... | ... |
... | @@ -144,7 +144,8 @@ | ... | @@ -144,7 +144,8 @@ |
144 | }; | 144 | }; |
145 | 145 | ||
146 | testScriptString = function (tag, offset, expected) { | 146 | testScriptString = function (tag, offset, expected) { |
147 | var type = tag.bytes[offset], | 147 | var |
148 | type = tag.bytes[offset], | ||
148 | stringLength = tag.view.getUint16(offset + 1), | 149 | stringLength = tag.view.getUint16(offset + 1), |
149 | string, | 150 | string, |
150 | i = expected.length; | 151 | i = expected.length; | ... | ... |
-
Please register or sign in to post a comment