From 79c5967f262578b801bf423de93341b4e8fd954c Mon Sep 17 00:00:00 2001 From: walsh9 Date: Tue, 23 Jun 2015 19:36:32 -0400 Subject: [PATCH 1/7] Replace foreach methods on track. Replace method calls with properties --- dist/videojs-transcript.js | 24 ++++++++++++++---------- dist/videojs-transcript.min.js | 3 --- example.html | 4 ++-- package.json | 4 +--- src/tracklist.js | 16 ++++++++++------ src/widget.js | 4 ++-- 6 files changed, 29 insertions(+), 26 deletions(-) delete mode 100644 dist/videojs-transcript.min.js diff --git a/dist/videojs-transcript.js b/dist/videojs-transcript.js index f8bff51..e9f559e 100644 --- a/dist/videojs-transcript.js +++ b/dist/videojs-transcript.js @@ -1,5 +1,5 @@ -/*! videojs-transcript - v0.7.1 - 2014-10-10 -* Copyright (c) 2014 Matthew Walsh; Licensed MIT */ +/*! videojs-transcript - v0.7.1 - 2015-06-23 +* Copyright (c) 2015 Matthew Walsh; Licensed MIT */ (function (window, videojs) { 'use strict'; @@ -299,21 +299,25 @@ var trackList = function (plugin) { return { get: function () { var validTracks = []; + var i, track; my.tracks = my.player.textTracks(); - my.tracks.forEach(function (track) { - if (track.kind() === 'captions' || track.kind() === 'subtitles') { + for (i = 0; i < my.tracks.length; i++) { + track = my.tracks[i]; + if (track.kind === 'captions' || track.kind === 'subtitles') { validTracks.push(track); } - }); + } return validTracks; }, active: function (tracks) { - tracks.forEach(function (track) { - if (track.mode() === 2) { + var i, track; + for (i = 0; i < my.tracks.length; i++) { + track = my.tracks[i]; + if (track.mode === 'showing') { activeTrack = track; return track; } - }); + } // fallback to first track return activeTrack || tracks[0]; }, @@ -342,7 +346,7 @@ var widget = function (plugin) { plugin.validTracks.forEach(function (track, i) { var option = document.createElement('option'); option.value = i; - option.textContent = track.label() + ' (' + track.language() + ')'; + option.textContent = track.label + ' (' + track.language + ')'; selector.appendChild(option); }); selector.addEventListener('change', function (e) { @@ -388,7 +392,7 @@ var widget = function (plugin) { } body.innerHTML = ''; body.appendChild(fragment); - body.setAttribute('lang', track.language()); + body.setAttribute('lang', track.language); }; if (track.readyState() !==2) { track.load(); diff --git a/dist/videojs-transcript.min.js b/dist/videojs-transcript.min.js deleted file mode 100644 index 58fb6b8..0000000 --- a/dist/videojs-transcript.min.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! videojs-transcript - v0.7.1 - 2014-10-10 -* Copyright (c) 2014 Matthew Walsh; Licensed MIT */ -!function(a,b){"use strict";!function(){for(var b=0,c=["ms","moz","webkit","o"],d=0;d1)throw Error("Second argument not supported");if("object"!=typeof b)throw TypeError("Argument must be an object");a.prototype=b;var c=new a;return a.prototype=null,c}}()),Array.prototype.forEach||(Array.prototype.forEach=function(a,b){var c,d;if(null==this)throw new TypeError(" this is null or not defined");var e=Object(this),f=e.length>>>0;if("function"!=typeof a)throw new TypeError(a+" is not a function");for(arguments.length>1&&(c=b),d=0;f>d;){var g;d in e&&(g=e[d],a.call(c,g,d,e)),d++}}),"document"in self&&!("classList"in document.createElement("_"))&&!function(a){if("Element"in a){var b="classList",c="prototype",d=a.Element[c],e=Object,f=String[c].trim||function(){return this.replace(/^\s+|\s+$/g,"")},g=Array[c].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1},h=function(a,b){this.name=a,this.code=DOMException[a],this.message=b},i=function(a,b){if(""===b)throw new h("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(b))throw new h("INVALID_CHARACTER_ERR","String contains an invalid character");return g.call(a,b)},j=function(a){for(var b=f.call(a.getAttribute("class")||""),c=b?b.split(/\s+/):[],d=0,e=c.length;e>d;d++)this.push(c[d]);this._updateClassName=function(){a.setAttribute("class",this.toString())}},k=j[c]=[],l=function(){return new j(this)};if(h[c]=Error[c],k.item=function(a){return this[a]||null},k.contains=function(a){return a+="",-1!==i(this,a)},k.add=function(){var a,b=arguments,c=0,d=b.length,e=!1;do a=b[c]+"",-1===i(this,a)&&(this.push(a),e=!0);while(++cd?"0"+d:d,c=b>0&&10>c?"0"+c:c,b>0?b+":"+c+":"+d:c+":"+d},localize:function(a){return a},createEl:function(b,c){c=c||"";var d=document.createElement(b);return d.className=a.prefix+c,d},extend:function(a){var b=typeof a;if(!("function"===b||"object"===b&&a))return a;for(var c,d,e=1,f=arguments.length;f>e;e++){c=arguments[e];for(d in c)a[d]=c[d]}return a}}}(c),f={handlers_:[],on:function(a,b,c){if("function"!=typeof c)throw new TypeError("Callback is not a function.");this.handlers_.push([a,b,c])},trigger:function(a,b){this.handlers_.forEach(function(c){c[0]===a&&c[1]===b&&c[2].apply()})}},g=function(){var a=function(a){var b=this;a.addEventListener("scroll",function(){b.isAutoScrolling?b.isAutoScrolling=!1:(b.userIsScrolling=!0,a.classList.add("is-inuse"))}),a.addEventListener("mouseenter",function(){b.mouseIsOverTranscript=!0}),a.addEventListener("mouseleave",function(){b.mouseIsOverTranscript=!1,setTimeout(function(){b.mouseIsOverTranscript||(b.userIsScrolling=!1,a.classList.remove("is-inuse"))},1e3)})},b=function(b){return this.element=b,this.userIsScrolling=!1,this.mouseIsOverTranscript=!0,this.isAutoScrolling=!0,a.call(this,this.element),this},c=function(a,b,c,d){return b+c*Math.sin(Math.min(1,a/d)*(Math.PI/2))},d=function(a,b,d){var e=Date.now(),f=a.scrollTop,g=this;b=Math.max(0,b),b=Math.min(a.scrollHeight-a.clientHeight,b);var h=b-f,i=function(){var j=Date.now(),k=j-e;g.isAutoScrolling=!0,a.scrollTop=c(k,f,h,d),a.scrollTop!==b&&requestAnimationFrame(i,a)};requestAnimationFrame(i,a)},e=function(a){if(this.canScroll()){var b,c=a.parentElement,e=c.offsetTop+c.clientHeight,f=a.offsetTop+a.clientHeight,g=a.offsetTop-c.offsetTop,h=a.offsetTop+a.clientHeight-c.offsetTop;gc.scrollTop+c.clientHeight&&(b=f-e),void 0!==b&&c.scrollTop!==b&&d.call(this,c,b,400)}},f=function(){var a=this.element;return a.scrollHeight>a.offsetHeight},g=function(){return this.userIsScrolling};return{init:b,to:e,canScroll:f,inUse:g}}(c),h=function(a){return Object.create(g).init(a)},i=function(){var a;return{get:function(){var a=[];return c.tracks=c.player.textTracks(),c.tracks.forEach(function(b){("captions"===b.kind()||"subtitles"===b.kind())&&a.push(b)}),a},active:function(b){return b.forEach(function(b){return 2===b.mode()?(a=b,b):void 0}),a||b[0]}}}(c),j=function(a){var b={};b.element={},b.body={};var c=function(a,b){f.on(this,a,b)},d=function(a){f.trigger(this,a)},g=function(){var a=e.createEl("header","-header");return a.textContent=e.localize("Transcript"),a},i=function(){var b=e.createEl("select","-selector");return a.validTracks.forEach(function(a,c){var d=document.createElement("option");d.value=c,d.textContent=a.label()+" ("+a.language()+")",b.appendChild(d)}),b.addEventListener("change",function(){n(document.querySelector("#"+a.prefix+"-"+a.player.id()+" option:checked").value),d("trackchanged")}),b},j=function(b){var c=b.target.classList,d=b.target.getAttribute("data-begin")||b.target.parentElement.getAttribute("data-begin");void 0!==d&&null!==d&&("line"===a.settings.clickArea||"timestamp"===a.settings.clickArea&&c.contains(a.prefix+"-timestamp")||"text"===a.settings.clickArea&&c.contains(a.prefix+"-text"))&&a.player.currentTime(d)},k=function(a){var b=e.createEl("div","-line"),c=e.createEl("span","-timestamp"),d=e.createEl("span","-text");return b.setAttribute("data-begin",a.startTime),c.textContent=e.secondsToTime(a.startTime),d.innerHTML=a.text,b.appendChild(c),b.appendChild(d),b},l=function(b){"object"!=typeof b&&(b=a.player.textTracks()[b]);var c,d,f=e.createEl("div","-body"),g=document.createDocumentFragment(),i=function(){var a=b.cues();for(d=0;df&&g>c?e.classList.contains("is-active")||(e.classList.add("is-active"),!a.settings.autoscroll||a.settings.stopScrollWhenInUse&&b.body.scroll.inUse()||b.body.scroll.to(e)):e.classList.remove("is-active")},p=function(){return b.element};return{create:m,setTrack:n,setCue:o,el:p,on:c,trigger:d}}(c),k=function(a){c.player=this,c.validTracks=i.get(),c.currentTrack=i.active(c.validTracks),c.settings=b.util.mergeOptions(d,a),c.widget=j.create();var e=function(){c.widget.setCue(c.player.currentTime())},f=function(){c.currentTrack=i.active(c.validTracks),c.widget.setTrack(c.currentTrack)};if(!(c.validTracks.length>0))throw new Error("videojs-transcript: No tracks found!");return f(),c.player.on("timeupdate",e),c.settings.followPlayerTrack&&(c.player.on("captionstrackchange",f),c.player.on("subtitlestrackchange",f)),{el:function(){return c.widget.el()},setTrack:c.widget.setTrack}};b.plugin("transcript",k)}(window,videojs); \ No newline at end of file diff --git a/example.html b/example.html index 42fb5f3..a1fe4fd 100644 --- a/example.html +++ b/example.html @@ -4,7 +4,7 @@ Video.js Transcript - + @@ -23,7 +23,7 @@ margin: 40px auto; } - + diff --git a/package.json b/package.json index 79a49ff..a190b3c 100644 --- a/package.json +++ b/package.json @@ -19,11 +19,9 @@ "grunt-contrib-qunit": "^0.2", "grunt-contrib-uglify": "^0.2", "grunt-contrib-watch": "^0.4", - - "video.js": "^4.5", "qunitjs": "^1.12" }, "peerDependencies": { - "video.js": "^4.5" + "video.js": "^4.12" } } diff --git a/src/tracklist.js b/src/tracklist.js index f3bcfa1..0178c6c 100644 --- a/src/tracklist.js +++ b/src/tracklist.js @@ -8,21 +8,25 @@ var trackList = function (plugin) { return { get: function () { var validTracks = []; + var i, track; my.tracks = my.player.textTracks(); - my.tracks.forEach(function (track) { - if (track.kind() === 'captions' || track.kind() === 'subtitles') { + for (i = 0; i < my.tracks.length; i++) { + track = my.tracks[i]; + if (track.kind === 'captions' || track.kind === 'subtitles') { validTracks.push(track); } - }); + } return validTracks; }, active: function (tracks) { - tracks.forEach(function (track) { - if (track.mode() === 2) { + var i, track; + for (i = 0; i < my.tracks.length; i++) { + track = my.tracks[i]; + if (track.mode === 'showing') { activeTrack = track; return track; } - }); + } // fallback to first track return activeTrack || tracks[0]; }, diff --git a/src/widget.js b/src/widget.js index f3b5cda..f55cf33 100644 --- a/src/widget.js +++ b/src/widget.js @@ -24,7 +24,7 @@ var widget = function (plugin) { plugin.validTracks.forEach(function (track, i) { var option = document.createElement('option'); option.value = i; - option.textContent = track.label() + ' (' + track.language() + ')'; + option.textContent = track.label + ' (' + track.language + ')'; selector.appendChild(option); }); selector.addEventListener('change', function (e) { @@ -70,7 +70,7 @@ var widget = function (plugin) { } body.innerHTML = ''; body.appendChild(fragment); - body.setAttribute('lang', track.language()); + body.setAttribute('lang', track.language); }; if (track.readyState() !==2) { track.load(); From 5fa349005e363c2b57bd6f273ae48b1949a1e705 Mon Sep 17 00:00:00 2001 From: walsh9 Date: Tue, 23 Jun 2015 20:14:16 -0400 Subject: [PATCH 2/7] Change captions to WebVTT --- captions/{captions.ar.srt => captions.ar.vtt} | 233 ++++-------- captions/captions.en.srt | 332 ----------------- captions/captions.en.vtt | 256 +++++++++++++ captions/captions.ja.srt | 324 ---------------- captions/captions.ja.vtt | 249 +++++++++++++ captions/{captions.ru.srt => captions.ru.vtt} | 256 +++++-------- captions/captions.sv.srt | 347 ------------------ captions/captions.sv.vtt | 268 ++++++++++++++ example.html | 12 +- 9 files changed, 945 insertions(+), 1332 deletions(-) rename captions/{captions.ar.srt => captions.ar.vtt} (53%) delete mode 100644 captions/captions.en.srt create mode 100644 captions/captions.en.vtt delete mode 100644 captions/captions.ja.srt create mode 100644 captions/captions.ja.vtt rename captions/{captions.ru.srt => captions.ru.vtt} (53%) delete mode 100644 captions/captions.sv.srt create mode 100644 captions/captions.sv.vtt diff --git a/captions/captions.ar.srt b/captions/captions.ar.vtt similarity index 53% rename from captions/captions.ar.srt rename to captions/captions.ar.vtt index 8ccaccb..cb4a88a 100644 --- a/captions/captions.ar.srt +++ b/captions/captions.ar.vtt @@ -1,328 +1,253 @@ -1 -00:00:15,042 --> 00:00:18,625 +WEBVTT + +00:00:15.042 --> 00:00:18.625 ...إلى... إلى الشمال يمكن أن نرى ...يمكن أن نرى الـ -2 -00:00:18,750 --> 00:00:20,958 +00:00:18.750 --> 00:00:20.958 ...إلى اليمين يمكن أن نرى الـ -3 -00:00:21,000 --> 00:00:23,125 +00:00:21.000 --> 00:00:23.125 طاحنات الرؤوس... -4 -00:00:23,208 --> 00:00:25,208 +00:00:23.208 --> 00:00:25.208 كل شيئ آمن آمن كلية -5 -00:00:26,333 --> 00:00:28,333 +00:00:26.333 --> 00:00:28.333 إيمو ؟ -6 -00:00:28,875 --> 00:00:30,958 +00:00:28.875 --> 00:00:30.958 ! حذاري -7 -00:00:47,125 --> 00:00:49,167 +00:00:47.125 --> 00:00:49.167 هل أصبت ؟ -8 -00:00:52,125 --> 00:00:54,833 +00:00:52.125 --> 00:00:54.833 ...لا أظن ذلك وأنت ؟ -9 -00:00:55,625 --> 00:00:57,625 +00:00:55.625 --> 00:00:57.625 أنا بخير -10 -00:00:57,667 --> 00:01:01,667 +00:00:57.667 --> 00:01:01.667 ،قم يا إيمو المكان هنا غير آمن -11 -00:01:02,208 --> 00:01:04,083 +00:01:02.208 --> 00:01:04.083 لنذهب -12 -00:01:04,167 --> 00:01:06,167 +00:01:04.167 --> 00:01:06.167 وماذا بعد ؟ -13 -00:01:06,167 --> 00:01:08,583 +00:01:06.167 --> 00:01:08.583 ...سترى... سترى -14 -00:01:16,167 --> 00:01:18,375 +00:01:16.167 --> 00:01:18.375 إيمو، من هنا -15 -00:01:34,958 --> 00:01:37,000 +00:01:34.958 --> 00:01:37.000 ! إتبعني -16 -00:02:11,125 --> 00:02:13,625 +00:02:11.125 --> 00:02:13.625 ! أسرع يا إيمو -17 -00:02:48,375 --> 00:02:50,375 +00:02:48.375 --> 00:02:50.375 ! لست منتبها -18 -00:02:50,750 --> 00:02:54,500 +00:02:50.750 --> 00:02:54.500 ...أريد فقط أن أجيب الـ الهاتف... -19 -00:02:55,000 --> 00:02:58,500 +00:02:55.000 --> 00:02:58.500 ،إيمو، أنظر أقصد أنصت -20 -00:02:59,750 --> 00:03:03,292 +00:02:59.750 --> 00:03:03.292 عليك أن تتعلم الإصغاء -21 -00:03:03,625 --> 00:03:05,917 +00:03:03.625 --> 00:03:05.917 هذا ليس ضربا من اللهو -22 -00:03:06,083 --> 00:03:09,958 +00:03:06.083 --> 00:03:09.958 ...إنك أقصد إننا قد نموت بسهولة في هذا المكان -23 -00:03:10,208 --> 00:03:14,125 +00:03:10.208 --> 00:03:14.125 ...أنصت أنصت إلى أصوات الآلة -24 -00:03:18,333 --> 00:03:20,417 +00:03:18.333 --> 00:03:20.417 أنصت إلى نَفَسِك -25 -00:04:27,208 --> 00:04:29,250 +00:04:27.208 --> 00:04:29.250 ألا تمل أبدا من هذا ؟ -26 -00:04:29,583 --> 00:04:31,583 +00:04:29.583 --> 00:04:31.583 أمل ؟!؟ نعم - -27 -00:04:31,750 --> 00:04:34,667 +00:04:31.750 --> 00:04:34.667 إيمو؛ الآلة في دقتها... مثل الساعة -28 -00:04:35,500 --> 00:04:37,708 +00:04:35.500 --> 00:04:37.708 ...حركة ناشزة واحدة قد -29 -00:04:37,833 --> 00:04:39,875 +00:04:37.833 --> 00:04:39.875 تطرحك معجونا -30 -00:04:41,042 --> 00:04:43,083 +00:04:41.042 --> 00:04:43.083 ...أو ليست -31 -00:04:43,125 --> 00:04:46,542 +00:04:43.125 --> 00:04:46.542 ! عجينة يا إيمو أ هذا ما تريد ؟ أن تصبح عجينة ؟ -32 -00:04:48,083 --> 00:04:50,083 +00:04:48.083 --> 00:04:50.083 أيمو، أ هذا هدفك في الحياة ؟ -33 -00:04:50,583 --> 00:04:52,667 +00:04:50.583 --> 00:04:52.667 أن تصير عجينة ؟ -34 -00:05:41,833 --> 00:05:43,875 +00:05:41.833 --> 00:05:43.875 إيمو، أغمض عينيك -35 -00:05:44,917 --> 00:05:47,000 +00:05:44.917 --> 00:05:47.000 لماذا ؟ ! الآن - -36 -00:05:53,750 --> 00:05:56,042 +00:05:53.750 --> 00:05:56.042 حسن -37 -00:05:59,542 --> 00:06:02,792 +00:05:59.542 --> 00:06:02.792 ماذا ترى إلى شمالك يا إيمو ؟ -38 -00:06:04,417 --> 00:06:06,500 +00:06:04.417 --> 00:06:06.500 لا شيئ حقا ؟ - -39 -00:06:06,542 --> 00:06:08,625 +00:06:06.542 --> 00:06:08.625 لا، لا شيئ البتة -40 -00:06:08,625 --> 00:06:12,417 +00:06:08.625 --> 00:06:12.417 وماذا ترى إلى جهتك اليمنى يا إيمو ؟ -41 -00:06:13,667 --> 00:06:17,833 +00:06:13.667 --> 00:06:17.833 ،نفس الشيئ يا بروغ ! نفس الشيئ بالضبط؛ لا شيئ -42 -00:06:17,875 --> 00:06:19,917 +00:06:17.875 --> 00:06:19.917 عظيم -43 -00:06:40,625 --> 00:06:42,958 +00:06:40.625 --> 00:06:42.958 أنصت يا بروغ ! هل تسمع ذلك ؟ -44 -00:06:43,625 --> 00:06:45,625 +00:06:43.625 --> 00:06:45.625 هل نستطيع الذهاب إلى هناك ؟ -45 -00:06:45,708 --> 00:06:47,792 +00:06:45.708 --> 00:06:47.792 هناك ؟ نعم - -46 -00:06:47,833 --> 00:06:49,833 +00:06:47.833 --> 00:06:49.833 إنه غير آمن يا إيمو -47 -00:06:49,917 --> 00:06:52,500 +00:06:49.917 --> 00:06:52.500 صدقني، إنه غير آمن -48 -00:06:53,292 --> 00:06:55,375 +00:06:53.292 --> 00:06:55.375 ...لكن لعلي أستطيع -49 -00:06:55,417 --> 00:06:57,417 +00:06:55.417 --> 00:06:57.417 ...لكن ! لا - -50 -00:06:57,667 --> 00:06:59,667 +00:06:57.667 --> 00:06:59.667 ! لا -51 -00:07:00,875 --> 00:07:03,750 +00:07:00.875 --> 00:07:03.750 هل من أسئلة أخرى يا إيمو ؟ -52 -00:07:04,250 --> 00:07:06,333 +00:07:04.250 --> 00:07:06.333 لا -53 -00:07:09,458 --> 00:07:11,542 +00:07:09.458 --> 00:07:11.542 ...إيمو نعم - -54 -00:07:11,875 --> 00:07:13,958 +00:07:11.875 --> 00:07:13.958 ...لماذا يا إيمو... لماذا -55 -00:07:15,292 --> 00:07:18,792 +00:07:15.292 --> 00:07:18.792 لماذا لا تستطيع أن ترى حُسْن هذا المكان -56 -00:07:18,833 --> 00:07:20,833 +00:07:18.833 --> 00:07:20.833 ...والطريقة التي يعمل بها -57 -00:07:20,875 --> 00:07:24,000 +00:07:20.875 --> 00:07:24.000 وكيف... وكيف أنه غاية في الكمال -58 -00:07:24,083 --> 00:07:27,417 +00:07:24.083 --> 00:07:27.417 ! لا يا بروغ، لا أرى ذلك -59 -00:07:27,542 --> 00:07:30,333 +00:07:27.542 --> 00:07:30.333 لا أرى ذلك لأنه لا يوجد شيئ هناك -60 -00:07:31,500 --> 00:07:35,333 +00:07:31.500 --> 00:07:35.333 ثم لماذا يجب علي أن أسلم حياتي لشيئ لا وجود له ؟ -61 -00:07:35,583 --> 00:07:37,625 +00:07:35.583 --> 00:07:37.625 هل يمكنك أن تخبرني ؟ -62 -00:07:37,708 --> 00:07:39,750 +00:07:37.708 --> 00:07:39.750 ! أجبني -63 -00:07:43,208 --> 00:07:47,333 +00:07:43.208 --> 00:07:47.333 ...بروغ ! أنت معتوه يا هذا -64 -00:07:47,375 --> 00:07:49,417 +00:07:47.375 --> 00:07:49.417 ! إبعد عني -65 -00:07:52,583 --> 00:07:55,083 +00:07:52.583 --> 00:07:55.083 ! لا يا إيمو ! إنه فخ -66 -00:07:55,833 --> 00:07:57,875 +00:07:55.833 --> 00:07:57.875 ...إنه فخ -67 -00:07:57,917 --> 00:08:01,750 +00:07:57.917 --> 00:08:01.750 إلى جنبك الأيسر يمكنك أن ترى حدائق بابل المعلقة -68 -00:08:02,250 --> 00:08:04,292 +00:08:02.250 --> 00:08:04.292 هل تعجبك كفخ ؟ -69 -00:08:05,458 --> 00:08:07,542 +00:08:05.458 --> 00:08:07.542 لا يا أيمو -70 -00:08:09,417 --> 00:08:12,792 +00:08:09.417 --> 00:08:12.792 ...إلى جنبك الأيمن يمكنك رؤية حزر ماذا ؟ -71 -00:08:13,000 --> 00:08:15,042 +00:08:13.000 --> 00:08:15.042 ! عملاق رودس -72 -00:08:15,125 --> 00:08:16,417 +00:08:15.125 --> 00:08:16.417 ! لا -73 -00:08:16,458 --> 00:08:20,500 +00:08:16.458 --> 00:08:20.500 ،عملاق رودس وهو هنا خصيصا من أجلك يا بروغ -74 -00:08:20,583 --> 00:08:22,583 +00:08:20.583 --> 00:08:22.583 فقط من أجلك -75 -00:08:51,333 --> 00:08:53,375 +00:08:51.333 --> 00:08:53.375 إنه هناك -76 -00:08:53,417 --> 00:08:55,500 +00:08:53.417 --> 00:08:55.500 أنا أؤكد لك... إيمو -77 -00:08:57,333 --> 00:09:00,000 +00:08:57.333 --> 00:09:00.000 ...إنه diff --git a/captions/captions.en.srt b/captions/captions.en.srt deleted file mode 100644 index 543f095..0000000 --- a/captions/captions.en.srt +++ /dev/null @@ -1,332 +0,0 @@ -1 -00:00:15,000 --> 00:00:17,951 -At the left we can see... - -2 -00:00:18,166 --> 00:00:20,083 -At the right we can see the... - -3 -00:00:20,119 --> 00:00:21,962 -...the head-snarlers - -4 -00:00:21,999 --> 00:00:24,368 -Everything is safe. -Perfectly safe. - -5 -00:00:24,582 --> 00:00:27,035 -Emo? - -6 -00:00:28,206 --> 00:00:29,996 -Watch out! - -7 -00:00:47,037 --> 00:00:48,494 -Are you hurt? - -8 -00:00:51,994 --> 00:00:53,949 -I don't think so. -You? - -9 -00:00:55,160 --> 00:00:56,985 -I'm Ok. - -10 -00:00:57,118 --> 00:01:01,111 -Get up. -Emo, it's not safe here. - -11 -00:01:02,034 --> 00:01:03,573 -Let's go. - -12 -00:01:03,610 --> 00:01:05,114 -What's next? - -13 -00:01:05,200 --> 00:01:09,146 -You'll see! - -14 -00:01:16,032 --> 00:01:18,022 -Emo. -This way. - -15 -00:01:34,237 --> 00:01:35,481 -Follow me! - -16 -00:02:11,106 --> 00:02:12,480 -Hurry Emo! - -17 -00:02:48,059 --> 00:02:49,930 -You're not paying attention! - -18 -00:02:50,142 --> 00:02:54,052 -I just want to answer the... -...phone. - -19 -00:02:54,974 --> 00:02:57,972 -Emo, look, -I mean listen. - -20 -00:02:59,140 --> 00:03:02,008 -You have to learn to listen. - -21 -00:03:03,140 --> 00:03:04,965 -This is not some game. - -22 -00:03:05,056 --> 00:03:09,345 -You, I mean we, -we could easily die out here. - -23 -00:03:10,014 --> 00:03:13,959 -Listen, -listen to the sounds of the machine. - -24 -00:03:18,054 --> 00:03:20,009 -Listen to your breathing. - -25 -00:04:27,001 --> 00:04:28,956 -Well, don't you ever get tired of this? - -26 -00:04:29,084 --> 00:04:30,909 -Tired?!? - -27 -00:04:31,126 --> 00:04:34,491 -Emo, the machine is like clockwork. - -28 -00:04:35,083 --> 00:04:37,074 -One move out of place... - -29 -00:04:37,166 --> 00:04:39,121 -...and you're ground to a pulp. - -30 -00:04:40,958 --> 00:04:42,004 -But isn't it - - -31 -00:04:42,041 --> 00:04:46,034 -Pulp, Emo! -Is that what you want, pulp? - -32 -00:04:47,040 --> 00:04:48,995 -Emo, your goal in life... - -33 -00:04:50,081 --> 00:04:51,953 -...pulp? - -34 -00:05:41,156 --> 00:05:43,028 -Emo, close your eyes. - -35 -00:05:44,156 --> 00:05:46,027 -Why? -- Now! - -36 -00:05:51,155 --> 00:05:52,102 -Ok. - -37 -00:05:53,113 --> 00:05:54,688 -Good. - -38 -00:05:59,070 --> 00:06:02,103 -What do you see at your left side, Emo? - -39 -00:06:04,028 --> 00:06:05,899 -Nothing. -- Really? - -40 -00:06:06,027 --> 00:06:07,105 -No, nothing at all. - -41 -00:06:07,944 --> 00:06:11,984 -And at your right, -what do you see at your right side, Emo? - -42 -00:06:13,151 --> 00:06:16,102 -The same Proog, exactly the same... - -43 -00:06:16,942 --> 00:06:19,098 -...nothing! -- Great. - -44 -00:06:40,105 --> 00:06:42,724 -Listen Proog! Do you hear that! - -45 -00:06:43,105 --> 00:06:44,894 -Can we go here? - -46 -00:06:44,979 --> 00:06:47,894 -There? -It isn't safe, Emo. - -47 -00:06:49,145 --> 00:06:52,013 -But... -- Trust me, it's not. - -48 -00:06:53,020 --> 00:06:54,145 -Maybe I could... - -49 -00:06:54,181 --> 00:06:55,969 -No. - -50 -00:06:57,102 --> 00:06:59,934 -NO! - -51 -00:07:00,144 --> 00:07:03,058 -Any further questions, Emo? - -52 -00:07:03,976 --> 00:07:05,090 -No. - -53 -00:07:09,059 --> 00:07:10,089 -Emo? - -54 -00:07:11,142 --> 00:07:13,058 -Emo, why... - -55 -00:07:13,095 --> 00:07:14,022 -Emo... - -56 -00:07:14,058 --> 00:07:18,003 -...why can't you see -the beauty of this place? - -57 -00:07:18,141 --> 00:07:20,048 -The way it works. - -58 -00:07:20,140 --> 00:07:23,895 -How perfect it is. - -59 -00:07:23,932 --> 00:07:26,964 -No, Proog, I don't see. - -60 -00:07:27,056 --> 00:07:29,970 -I don't see because there's nothing there. - -61 -00:07:31,055 --> 00:07:34,965 -And why should I trust my -life to something that isn't there? - -62 -00:07:35,055 --> 00:07:36,926 -Well can you tell me that? - -63 -00:07:37,054 --> 00:07:38,926 -Answer me! - -64 -00:07:42,970 --> 00:07:44,000 -Proog... - -65 -00:07:45,053 --> 00:07:46,985 -...you're a sick man! - -66 -00:07:47,022 --> 00:07:48,918 -Stay away from me! - -67 -00:07:52,052 --> 00:07:54,884 -No! Emo! It's a trap! - -68 -00:07:55,135 --> 00:07:56,931 -Hah, it's a trap. - -69 -00:07:56,968 --> 00:08:01,043 -At the left side you can see -the hanging gardens of Babylon! - -70 -00:08:01,967 --> 00:08:03,957 -How's that for a trap? - -71 -00:08:05,050 --> 00:08:06,922 -No, Emo. - -72 -00:08:09,008 --> 00:08:12,088 -At the right side you can see... -...well guess what... - -73 -00:08:12,924 --> 00:08:14,665 -...the colossus of Rhodes! - -74 -00:08:15,132 --> 00:08:16,053 -No! - -75 -00:08:16,090 --> 00:08:21,919 -The colossus of Rhodes -and it is here just for you Proog. - -76 -00:08:51,001 --> 00:08:52,923 -It is there... - -77 -00:08:52,959 --> 00:08:56,040 -I'm telling you, -Emo... - -78 -00:08:57,000 --> 00:08:59,867 -...it is. \ No newline at end of file diff --git a/captions/captions.en.vtt b/captions/captions.en.vtt new file mode 100644 index 0000000..3c647e4 --- /dev/null +++ b/captions/captions.en.vtt @@ -0,0 +1,256 @@ +WEBVTT + +00:00:15.000 --> 00:00:17.951 +At the left we can see... + +00:00:18.166 --> 00:00:20.083 +At the right we can see the... + +00:00:20.119 --> 00:00:21.962 +...the head-snarlers + +00:00:21.999 --> 00:00:24.368 +Everything is safe. +Perfectly safe. + +00:00:24.582 --> 00:00:27.035 +Emo? + +00:00:28.206 --> 00:00:29.996 +Watch out! + +00:00:47.037 --> 00:00:48.494 +Are you hurt? + +00:00:51.994 --> 00:00:53.949 +I don't think so. +You? + +00:00:55.160 --> 00:00:56.985 +I'm Ok. + +00:00:57.118 --> 00:01:01.111 +Get up. +Emo, it's not safe here. + +00:01:02.034 --> 00:01:03.573 +Let's go. + +00:01:03.610 --> 00:01:05.114 +What's next? + +00:01:05.200 --> 00:01:09.146 +You'll see! + +00:01:16.032 --> 00:01:18.022 +Emo. +This way. + +00:01:34.237 --> 00:01:35.481 +Follow me! + +00:02:11.106 --> 00:02:12.480 +Hurry Emo! + +00:02:48.059 --> 00:02:49.930 +You're not paying attention! + +00:02:50.142 --> 00:02:54.052 +I just want to answer the... +...phone. + +00:02:54.974 --> 00:02:57.972 +Emo, look, +I mean listen. + +00:02:59.140 --> 00:03:02.008 +You have to learn to listen. + +00:03:03.140 --> 00:03:04.965 +This is not some game. + +00:03:05.056 --> 00:03:09.345 +You, I mean we, +we could easily die out here. + +00:03:10.014 --> 00:03:13.959 +Listen, +listen to the sounds of the machine. + +00:03:18.054 --> 00:03:20.009 +Listen to your breathing. + +00:04:27.001 --> 00:04:28.956 +Well, don't you ever get tired of this? + +00:04:29.084 --> 00:04:30.909 +Tired?!? + +00:04:31.126 --> 00:04:34.491 +Emo, the machine is like clockwork. + +00:04:35.083 --> 00:04:37.074 +One move out of place... + +00:04:37.166 --> 00:04:39.121 +...and you're ground to a pulp. + +00:04:40.958 --> 00:04:42.004 +But isn't it - + +00:04:42.041 --> 00:04:46.034 +Pulp, Emo! +Is that what you want, pulp? + +00:04:47.040 --> 00:04:48.995 +Emo, your goal in life... + +00:04:50.081 --> 00:04:51.953 +...pulp? + +00:05:41.156 --> 00:05:43.028 +Emo, close your eyes. + +00:05:44.156 --> 00:05:46.027 +Why? +- Now! + +00:05:51.155 --> 00:05:52.102 +Ok. + +00:05:53.113 --> 00:05:54.688 +Good. + +00:05:59.070 --> 00:06:02.103 +What do you see at your left side, Emo? + +00:06:04.028 --> 00:06:05.899 +Nothing. +- Really? + +00:06:06.027 --> 00:06:07.105 +No, nothing at all. + +00:06:07.944 --> 00:06:11.984 +And at your right, +what do you see at your right side, Emo? + +00:06:13.151 --> 00:06:16.102 +The same Proog, exactly the same... + +00:06:16.942 --> 00:06:19.098 +...nothing! +- Great. + +00:06:40.105 --> 00:06:42.724 +Listen Proog! Do you hear that! + +00:06:43.105 --> 00:06:44.894 +Can we go here? + +00:06:44.979 --> 00:06:47.894 +There? +It isn't safe, Emo. + +00:06:49.145 --> 00:06:52.013 +But... +- Trust me, it's not. + +00:06:53.020 --> 00:06:54.145 +Maybe I could... + +00:06:54.181 --> 00:06:55.969 +No. + +00:06:57.102 --> 00:06:59.934 +NO! + +00:07:00.144 --> 00:07:03.058 +Any further questions, Emo? + +00:07:03.976 --> 00:07:05.090 +No. + +00:07:09.059 --> 00:07:10.089 +Emo? + +00:07:11.142 --> 00:07:13.058 +Emo, why... + +00:07:13.095 --> 00:07:14.022 +Emo... + +00:07:14.058 --> 00:07:18.003 +...why can't you see +the beauty of this place? + +00:07:18.141 --> 00:07:20.048 +The way it works. + +00:07:20.140 --> 00:07:23.895 +How perfect it is. + +00:07:23.932 --> 00:07:26.964 +No, Proog, I don't see. + +00:07:27.056 --> 00:07:29.970 +I don't see because there's nothing there. + +00:07:31.055 --> 00:07:34.965 +And why should I trust my +life to something that isn't there? + +00:07:35.055 --> 00:07:36.926 +Well can you tell me that? + +00:07:37.054 --> 00:07:38.926 +Answer me! + +00:07:42.970 --> 00:07:44.000 +Proog... + +00:07:45.053 --> 00:07:46.985 +...you're a sick man! + +00:07:47.022 --> 00:07:48.918 +Stay away from me! + +00:07:52.052 --> 00:07:54.884 +No! Emo! It's a trap! + +00:07:55.135 --> 00:07:56.931 +Hah, it's a trap. + +00:07:56.968 --> 00:08:01.043 +At the left side you can see +the hanging gardens of Babylon! + +00:08:01.967 --> 00:08:03.957 +How's that for a trap? + +00:08:05.050 --> 00:08:06.922 +No, Emo. + +00:08:09.008 --> 00:08:12.088 +At the right side you can see... +...well guess what... + +00:08:12.924 --> 00:08:14.665 +...the colossus of Rhodes! + +00:08:15.132 --> 00:08:16.053 +No! + +00:08:16.090 --> 00:08:21.919 +The colossus of Rhodes +and it is here just for you Proog. + +00:08:51.001 --> 00:08:52.923 +It is there... + +00:08:52.959 --> 00:08:56.040 +I'm telling you, +Emo... + +00:08:57.000 --> 00:08:59.867 +...it is. diff --git a/captions/captions.ja.srt b/captions/captions.ja.srt deleted file mode 100644 index 1bc9154..0000000 --- a/captions/captions.ja.srt +++ /dev/null @@ -1,324 +0,0 @@ -1 -00:00:15,042 --> 00:00:18,042 -左に見えるのは… - -2 -00:00:18,750 --> 00:00:20,333 -右に見えるのは… - -3 -00:00:20,417 --> 00:00:21,917 -…首刈り機 - -4 -00:00:22,000 --> 00:00:24,625 -すべて安全 -完璧に安全だ - -5 -00:00:26,333 --> 00:00:27,333 -イーモ? - -6 -00:00:28,875 --> 00:00:30,250 -危ない! - -7 -00:00:47,125 --> 00:00:48,250 -ケガはないか? - -8 -00:00:51,917 --> 00:00:53,917 -ええ、多分… -あなたは? - -9 -00:00:55,625 --> 00:00:57,125 -わしは平気だ - -10 -00:00:57,583 --> 00:01:01,667 -起きてくれイーモ -ここは危ない - -11 -00:01:02,208 --> 00:01:03,667 -行こう - -12 -00:01:03,750 --> 00:01:04,917 -どこに? - -13 -00:01:05,875 --> 00:01:07,875 -すぐにわかるさ! - -14 -00:01:16,167 --> 00:01:18,375 -イーモ、こっちだ - -15 -00:01:34,958 --> 00:01:36,958 -ついて来るんだ! - -16 -00:02:11,583 --> 00:02:12,792 -イーモ、早く! - -17 -00:02:48,375 --> 00:02:50,083 -むやみにさわるな! - -18 -00:02:50,750 --> 00:02:54,500 -僕はただ、電話に -…出ようと - -19 -00:02:55,000 --> 00:02:58,208 -イーモ、見るんだ… -いや、聞いてくれ - -20 -00:02:59,750 --> 00:03:02,292 -君は「聞き方」を知る必要がある - -21 -00:03:03,625 --> 00:03:05,125 -これは遊びじゃない - -22 -00:03:06,167 --> 00:03:10,417 -我々はここでは -たやすく死ぬ - -23 -00:03:11,208 --> 00:03:14,125 -機械の声を聞くんだ - -24 -00:03:18,333 --> 00:03:22,417 -君の息づかいを聞くんだ - -25 -00:04:27,208 --> 00:04:29,250 -そんなことして疲れない? - -26 -00:04:29,583 --> 00:04:31,083 -疲れる?! - -27 -00:04:31,750 --> 00:04:34,667 -この機械は非常に正確で - -28 -00:04:35,500 --> 00:04:37,708 -一つ間違えば… - -29 -00:04:37,833 --> 00:04:40,792 -…地面に落ちてバラバラだ - -30 -00:04:41,042 --> 00:04:42,375 -え、でも― - -31 -00:04:42,417 --> 00:04:46,542 -バラバラだぞ、イーモ! -それでいいのか? - -32 -00:04:48,083 --> 00:04:50,000 -バラバラで死ぬんだぞ? - -33 -00:04:50,583 --> 00:04:52,250 -バラバラだ! - -34 -00:05:41,833 --> 00:05:43,458 -イーモ、目を閉じるんだ - -35 -00:05:44,917 --> 00:05:46,583 -なぜ? -―早く! - -36 -00:05:53,750 --> 00:05:56,042 -それでいい - -37 -00:05:59,542 --> 00:06:03,792 -左に見えるものは何だ、イーモ? - -38 -00:06:04,417 --> 00:06:06,000 -え…何も -―本当か? - -39 -00:06:06,333 --> 00:06:07,917 -全く何も - -40 -00:06:08,042 --> 00:06:12,833 -では右は -何か見えるか、イーモ? - -41 -00:06:13,875 --> 00:06:16,917 -同じだよプルーグ、全く同じ… - -42 -00:06:17,083 --> 00:06:18,583 -何もない! - -43 -00:06:40,625 --> 00:06:43,208 -プルーグ!何か聞こえない? - -44 -00:06:43,625 --> 00:06:45,042 -あそこに行かないか? - -45 -00:06:45,208 --> 00:06:48,042 -あそこ? -…安全じゃない - -46 -00:06:49,917 --> 00:06:52,500 -でも… -―本当に危ないぞ - -47 -00:06:53,292 --> 00:06:54,792 -大丈夫だよ… - -48 -00:06:54,833 --> 00:06:56,333 -だめだ - -49 -00:06:57,667 --> 00:07:00,167 -だめだ! - -50 -00:07:00,875 --> 00:07:03,750 -まだ続ける気か、イーモ? - -51 -00:07:04,250 --> 00:07:05,917 -いいえ… - -52 -00:07:09,458 --> 00:07:10,833 -イーモ? - -53 -00:07:11,875 --> 00:07:13,542 -イーモ、なぜ… - -54 -00:07:13,583 --> 00:07:14,458 -イーモ… - -55 -00:07:14,500 --> 00:07:18,500 -…なぜここの美しさが -見えない? - -56 -00:07:18,833 --> 00:07:20,750 -仕組みがこんなに… - -57 -00:07:20,875 --> 00:07:24,000 -こんなに完全なのに - -58 -00:07:24,083 --> 00:07:27,417 -もういいよ!プルーグ! - -59 -00:07:27,542 --> 00:07:30,333 -そこには何もないんだから - -60 -00:07:31,500 --> 00:07:35,333 -なぜ命を「ない」物に -ゆだねなきゃ? - -61 -00:07:35,583 --> 00:07:37,125 -教えてくれないか? - -62 -00:07:37,500 --> 00:07:39,167 -さあ! - -63 -00:07:43,208 --> 00:07:44,583 -プルーグ… - -64 -00:07:45,500 --> 00:07:47,333 -あなたは病気なんだ - -65 -00:07:47,375 --> 00:07:49,208 -僕から離れてくれ - -66 -00:07:52,583 --> 00:07:55,083 -いかん!イーモ!ワナだ! - -67 -00:07:55,833 --> 00:07:57,167 -ワナだ? ふーん - -68 -00:07:57,208 --> 00:08:01,750 -左に何が見える? -バビロンの空中庭園! - -69 -00:08:02,250 --> 00:08:04,292 -これがワナとでも? - -70 -00:08:05,458 --> 00:08:07,125 -だめだ、イーモ - -71 -00:08:09,417 --> 00:08:12,792 -右にあるのは… -…すごい!… - -72 -00:08:13,000 --> 00:08:14,750 -…ロードス島の巨像だ! - -73 -00:08:15,833 --> 00:08:16,708 -やめろ! - -74 -00:08:16,750 --> 00:08:22,167 -この巨像はあなたの物 -プルーグ、あなたのだよ - -75 -00:08:51,333 --> 00:08:53,167 -いってるじゃないか… - -76 -00:08:53,208 --> 00:08:55,500 -そこにあるって、イーモ… - -77 -00:08:57,333 --> 00:09:00,000 -…あるって \ No newline at end of file diff --git a/captions/captions.ja.vtt b/captions/captions.ja.vtt new file mode 100644 index 0000000..a0af4a6 --- /dev/null +++ b/captions/captions.ja.vtt @@ -0,0 +1,249 @@ +WEBVTT + +00:00:15.042 --> 00:00:18.042 +左に見えるのは… + +00:00:18.750 --> 00:00:20.333 +右に見えるのは… + +00:00:20.417 --> 00:00:21.917 +…首刈り機 + +00:00:22.000 --> 00:00:24.625 +すべて安全 +完璧に安全だ + +00:00:26.333 --> 00:00:27.333 +イーモ? + +00:00:28.875 --> 00:00:30.250 +危ない! + +00:00:47.125 --> 00:00:48.250 +ケガはないか? + +00:00:51.917 --> 00:00:53.917 +ええ、多分… +あなたは? + +00:00:55.625 --> 00:00:57.125 +わしは平気だ + +00:00:57.583 --> 00:01:01.667 +起きてくれイーモ +ここは危ない + +00:01:02.208 --> 00:01:03.667 +行こう + +00:01:03.750 --> 00:01:04.917 +どこに? + +00:01:05.875 --> 00:01:07.875 +すぐにわかるさ! + +00:01:16.167 --> 00:01:18.375 +イーモ、こっちだ + +00:01:34.958 --> 00:01:36.958 +ついて来るんだ! + +00:02:11.583 --> 00:02:12.792 +イーモ、早く! + +00:02:48.375 --> 00:02:50.083 +むやみにさわるな! + +00:02:50.750 --> 00:02:54.500 +僕はただ、電話に +…出ようと + +00:02:55.000 --> 00:02:58.208 +イーモ、見るんだ… +いや、聞いてくれ + +00:02:59.750 --> 00:03:02.292 +君は「聞き方」を知る必要がある + +00:03:03.625 --> 00:03:05.125 +これは遊びじゃない + +00:03:06.167 --> 00:03:10.417 +我々はここでは +たやすく死ぬ + +00:03:11.208 --> 00:03:14.125 +機械の声を聞くんだ + +00:03:18.333 --> 00:03:22.417 +君の息づかいを聞くんだ + +00:04:27.208 --> 00:04:29.250 +そんなことして疲れない? + +00:04:29.583 --> 00:04:31.083 +疲れる?! + +00:04:31.750 --> 00:04:34.667 +この機械は非常に正確で + +00:04:35.500 --> 00:04:37.708 +一つ間違えば… + +00:04:37.833 --> 00:04:40.792 +…地面に落ちてバラバラだ + +00:04:41.042 --> 00:04:42.375 +え、でも― + +00:04:42.417 --> 00:04:46.542 +バラバラだぞ、イーモ! +それでいいのか? + +00:04:48.083 --> 00:04:50.000 +バラバラで死ぬんだぞ? + +00:04:50.583 --> 00:04:52.250 +バラバラだ! + +00:05:41.833 --> 00:05:43.458 +イーモ、目を閉じるんだ + +00:05:44.917 --> 00:05:46.583 +なぜ? +―早く! + +00:05:53.750 --> 00:05:56.042 +それでいい + +00:05:59.542 --> 00:06:03.792 +左に見えるものは何だ、イーモ? + +00:06:04.417 --> 00:06:06.000 +え…何も +―本当か? + +00:06:06.333 --> 00:06:07.917 +全く何も + +00:06:08.042 --> 00:06:12.833 +では右は +何か見えるか、イーモ? + +00:06:13.875 --> 00:06:16.917 +同じだよプルーグ、全く同じ… + +00:06:17.083 --> 00:06:18.583 +何もない! + +00:06:40.625 --> 00:06:43.208 +プルーグ!何か聞こえない? + +00:06:43.625 --> 00:06:45.042 +あそこに行かないか? + +00:06:45.208 --> 00:06:48.042 +あそこ? +…安全じゃない + +00:06:49.917 --> 00:06:52.500 +でも… +―本当に危ないぞ + +00:06:53.292 --> 00:06:54.792 +大丈夫だよ… + +00:06:54.833 --> 00:06:56.333 +だめだ + +00:06:57.667 --> 00:07:00.167 +だめだ! + +00:07:00.875 --> 00:07:03.750 +まだ続ける気か、イーモ? + +00:07:04.250 --> 00:07:05.917 +いいえ… + +00:07:09.458 --> 00:07:10.833 +イーモ? + +00:07:11.875 --> 00:07:13.542 +イーモ、なぜ… + +00:07:13.583 --> 00:07:14.458 +イーモ… + +00:07:14.500 --> 00:07:18.500 +…なぜここの美しさが +見えない? + +00:07:18.833 --> 00:07:20.750 +仕組みがこんなに… + +00:07:20.875 --> 00:07:24.000 +こんなに完全なのに + +00:07:24.083 --> 00:07:27.417 +もういいよ!プルーグ! + +00:07:27.542 --> 00:07:30.333 +そこには何もないんだから + +00:07:31.500 --> 00:07:35.333 +なぜ命を「ない」物に +ゆだねなきゃ? + +00:07:35.583 --> 00:07:37.125 +教えてくれないか? + +00:07:37.500 --> 00:07:39.167 +さあ! + +00:07:43.208 --> 00:07:44.583 +プルーグ… + +00:07:45.500 --> 00:07:47.333 +あなたは病気なんだ + +00:07:47.375 --> 00:07:49.208 +僕から離れてくれ + +00:07:52.583 --> 00:07:55.083 +いかん!イーモ!ワナだ! + +00:07:55.833 --> 00:07:57.167 +ワナだ? ふーん + +00:07:57.208 --> 00:08:01.750 +左に何が見える? +バビロンの空中庭園! + +00:08:02.250 --> 00:08:04.292 +これがワナとでも? + +00:08:05.458 --> 00:08:07.125 +だめだ、イーモ + +00:08:09.417 --> 00:08:12.792 +右にあるのは… +…すごい!… + +00:08:13.000 --> 00:08:14.750 +…ロードス島の巨像だ! + +00:08:15.833 --> 00:08:16.708 +やめろ! + +00:08:16.750 --> 00:08:22.167 +この巨像はあなたの物 +プルーグ、あなたのだよ + +00:08:51.333 --> 00:08:53.167 +いってるじゃないか… + +00:08:53.208 --> 00:08:55.500 +そこにあるって、イーモ… + +00:08:57.333 --> 00:09:00.000 +…あるって diff --git a/captions/captions.ru.srt b/captions/captions.ru.vtt similarity index 53% rename from captions/captions.ru.srt rename to captions/captions.ru.vtt index 0e44ef2..a804112 100644 --- a/captions/captions.ru.srt +++ b/captions/captions.ru.vtt @@ -1,354 +1,272 @@ -1 -00:00:14,958 --> 00:00:17,833 +WEBVTT + +00:00:14.958 --> 00:00:17.833 Слева мы видим... -2 -00:00:18,458 --> 00:00:20,208 +00:00:18.458 --> 00:00:20.208 справа мы видим... -3 -00:00:20,333 --> 00:00:21,875 +00:00:20.333 --> 00:00:21.875 ...голово-клацов. -4 -00:00:22,000 --> 00:00:24,583 +00:00:22.000 --> 00:00:24.583 всё в порядке. в полном порядке. -5 -00:00:26,333 --> 00:00:27,333 +00:00:26.333 --> 00:00:27.333 Имо? -6 -00:00:28,833 --> 00:00:30,250 +00:00:28.833 --> 00:00:30.250 Осторожно! -7 -00:00:47,125 --> 00:00:48,250 +00:00:47.125 --> 00:00:48.250 Ты не ранен? -8 -00:00:51,875 --> 00:00:53,875 +00:00:51.875 --> 00:00:53.875 Вроде нет... а ты? -9 -00:00:55,583 --> 00:00:57,125 +00:00:55.583 --> 00:00:57.125 Я в порядке. -10 -00:00:57,542 --> 00:01:01,625 +00:00:57.542 --> 00:01:01.625 Вставай. Имо, здесь не безопасно. -11 -00:01:02,208 --> 00:01:03,625 +00:01:02.208 --> 00:01:03.625 Пойдём. -12 -00:01:03,708 --> 00:01:05,708 +00:01:03.708 --> 00:01:05.708 Что дальше? -13 -00:01:05,833 --> 00:01:07,833 +00:01:05.833 --> 00:01:07.833 Ты увидишь! -14 -00:01:08,000 --> 00:01:08,833 +00:01:08.000 --> 00:01:08.833 Ты увидишь... -15 -00:01:16,167 --> 00:01:18,375 +00:01:16.167 --> 00:01:18.375 Имо, сюда. -16 -00:01:34,917 --> 00:01:35,750 +00:01:34.917 --> 00:01:35.750 За мной! -17 -00:02:11,542 --> 00:02:12,750 +00:02:11.542 --> 00:02:12.750 Имо, быстрее! -18 -00:02:48,375 --> 00:02:50,083 +00:02:48.375 --> 00:02:50.083 Ты не обращаешь внимания! -19 -00:02:50,708 --> 00:02:54,500 +00:02:50.708 --> 00:02:54.500 Я только хотел ответить на ... ...звонок. -20 -00:02:55,000 --> 00:02:58,208 +00:02:55.000 --> 00:02:58.208 Имо, смотри, то есть слушай... -21 -00:02:59,708 --> 00:03:02,292 +00:02:59.708 --> 00:03:02.292 Ты должен учиться слушать. -22 -00:03:03,250 --> 00:03:05,333 +00:03:03.250 --> 00:03:05.333 Это не какая-нибудь игра. -23 -00:03:06,000 --> 00:03:08,833 +00:03:06.000 --> 00:03:08.833 Ты, вернее мы, легко можем погибнуть здесь. -24 -00:03:10,000 --> 00:03:11,167 +00:03:10.000 --> 00:03:11.167 Слушай... -25 -00:03:11,667 --> 00:03:14,125 +00:03:11.667 --> 00:03:14.125 слушай звуки машины. -26 -00:03:18,333 --> 00:03:20,417 +00:03:18.333 --> 00:03:20.417 Слушай своё дыхание. -27 -00:04:27,208 --> 00:04:29,250 +00:04:27.208 --> 00:04:29.250 И не надоест тебе это? -28 -00:04:29,542 --> 00:04:31,083 +00:04:29.542 --> 00:04:31.083 Надоест?!? -29 -00:04:31,708 --> 00:04:34,625 +00:04:31.708 --> 00:04:34.625 Имо! Машина - она как часовой механизм. -30 -00:04:35,500 --> 00:04:37,667 +00:04:35.500 --> 00:04:37.667 Одно движение не туда... -31 -00:04:37,792 --> 00:04:39,750 +00:04:37.792 --> 00:04:39.750 ...и тебя размелют в месиво! -32 -00:04:41,042 --> 00:04:42,375 +00:04:41.042 --> 00:04:42.375 А разве это не - -33 -00:04:42,417 --> 00:04:46,500 +00:04:42.417 --> 00:04:46.500 Месиво, Имо! ты этого хочешь? месиво? -34 -00:04:48,083 --> 00:04:50,000 +00:04:48.083 --> 00:04:50.000 Имо, твоя цель в жизни? -35 -00:04:50,542 --> 00:04:52,250 +00:04:50.542 --> 00:04:52.250 Месиво! -36 -00:05:41,792 --> 00:05:43,458 +00:05:41.792 --> 00:05:43.458 Имо, закрой глаза. -37 -00:05:44,875 --> 00:05:46,542 +00:05:44.875 --> 00:05:46.542 Зачем? - Ну же! -38 -00:05:51,500 --> 00:05:52,333 +00:05:51.500 --> 00:05:52.333 Ладно. -39 -00:05:53,708 --> 00:05:56,042 +00:05:53.708 --> 00:05:56.042 Хорошо. -40 -00:05:59,500 --> 00:06:02,750 +00:05:59.500 --> 00:06:02.750 Что ты видишь слева от себя, Имо? -41 -00:06:04,417 --> 00:06:06,000 +00:06:04.417 --> 00:06:06.000 Ничего. - Точно? -42 -00:06:06,333 --> 00:06:07,875 +00:06:06.333 --> 00:06:07.875 да, совсем ничего. -43 -00:06:08,042 --> 00:06:12,708 +00:06:08.042 --> 00:06:12.708 А справа от себя, что ты видишь справа от себя, Имо? -44 -00:06:13,833 --> 00:06:16,875 +00:06:13.833 --> 00:06:16.875 Да то же Пруг, в точности то же... -45 -00:06:17,042 --> 00:06:18,500 +00:06:17.042 --> 00:06:18.500 Ничего! -46 -00:06:18,667 --> 00:06:19,500 +00:06:18.667 --> 00:06:19.500 Прекрасно... -47 -00:06:40,583 --> 00:06:42,917 +00:06:40.583 --> 00:06:42.917 Прислушайся, Пруг! Ты слышишь это? -48 -00:06:43,583 --> 00:06:45,042 +00:06:43.583 --> 00:06:45.042 Может, мы пойдём туда? -49 -00:06:45,208 --> 00:06:48,042 +00:06:45.208 --> 00:06:48.042 Туда? Это не безопасно, Имо. -50 -00:06:49,875 --> 00:06:52,500 +00:06:49.875 --> 00:06:52.500 Но... - Поверь мне, это так. -51 -00:06:53,292 --> 00:06:54,750 +00:06:53.292 --> 00:06:54.750 Может я бы ... -52 -00:06:54,792 --> 00:06:56,333 +00:06:54.792 --> 00:06:56.333 Нет. -53 -00:06:57,625 --> 00:06:59,583 +00:06:57.625 --> 00:06:59.583 - Но... - НЕТ! -54 -00:06:59,708 --> 00:07:00,833 +00:06:59.708 --> 00:07:00.833 Нет! -55 -00:07:00,833 --> 00:07:03,708 +00:07:00.833 --> 00:07:03.708 Ещё вопросы, Имо? -56 -00:07:04,250 --> 00:07:05,875 +00:07:04.250 --> 00:07:05.875 Нет. -57 -00:07:09,458 --> 00:07:10,792 +00:07:09.458 --> 00:07:10.792 Имо? -58 -00:07:11,833 --> 00:07:13,500 +00:07:11.833 --> 00:07:13.500 Имо, почему... -59 -00:07:13,542 --> 00:07:14,458 +00:07:13.542 --> 00:07:14.458 Имо... -60 -00:07:14,500 --> 00:07:18,500 +00:07:14.500 --> 00:07:18.500 ...почему? почему ты не видишь красоты этого места? -61 -00:07:18,792 --> 00:07:20,708 +00:07:18.792 --> 00:07:20.708 То как оно работает. -62 -00:07:20,833 --> 00:07:24,000 +00:07:20.833 --> 00:07:24.000 Как совершенно оно. -63 -00:07:24,083 --> 00:07:27,417 +00:07:24.083 --> 00:07:27.417 Нет, Пруг, я не вижу. -64 -00:07:27,500 --> 00:07:30,333 +00:07:27.500 --> 00:07:30.333 Я не вижу, потому что здесь ничего нет. -65 -00:07:31,375 --> 00:07:35,333 +00:07:31.375 --> 00:07:35.333 И почему я должен доверять свою жизнь чему-то, чего здесь нет? -66 -00:07:35,542 --> 00:07:37,125 +00:07:35.542 --> 00:07:37.125 это ты мне можешь сказать? -67 -00:07:37,500 --> 00:07:39,167 +00:07:37.500 --> 00:07:39.167 Ответь мне! -68 -00:07:43,208 --> 00:07:44,542 +00:07:43.208 --> 00:07:44.542 Пруг... -69 -00:07:45,500 --> 00:07:47,333 +00:07:45.500 --> 00:07:47.333 Ты просто больной! -70 -00:07:47,375 --> 00:07:48,500 +00:07:47.375 --> 00:07:48.500 Отстань от меня. -71 -00:07:48,625 --> 00:07:49,917 +00:07:48.625 --> 00:07:49.917 Имо... -72 -00:07:52,542 --> 00:07:55,083 +00:07:52.542 --> 00:07:55.083 Нет! Имо! Это ловушка! -73 -00:07:55,792 --> 00:07:57,167 +00:07:55.792 --> 00:07:57.167 Это ловушка! -74 -00:07:57,208 --> 00:08:01,708 +00:07:57.208 --> 00:08:01.708 Слева от себя вы можете увидеть Висящие сады Семирамиды! -75 -00:08:02,250 --> 00:08:04,292 +00:08:02.250 --> 00:08:04.292 Сойдёт за ловушку? -76 -00:08:05,458 --> 00:08:07,125 +00:08:05.458 --> 00:08:07.125 Нет, Имо. -77 -00:08:09,417 --> 00:08:12,750 +00:08:09.417 --> 00:08:12.750 Справа от себя вы можете увидеть... ...угадай кого... -78 -00:08:13,000 --> 00:08:14,708 +00:08:13.000 --> 00:08:14.708 ...Колосса Родосского! -79 -00:08:15,500 --> 00:08:16,625 +00:08:15.500 --> 00:08:16.625 Нет! -80 -00:08:16,667 --> 00:08:21,125 +00:08:16.667 --> 00:08:21.125 Колосс Родосский! И он здесь специально для тебя, Пруг. -81 -00:08:21,167 --> 00:08:22,208 +00:08:21.167 --> 00:08:22.208 Специально для тебя... -82 -00:08:51,333 --> 00:08:53,167 +00:08:51.333 --> 00:08:53.167 Она здесь есть! -83 -00:08:53,208 --> 00:08:55,500 +00:08:53.208 --> 00:08:55.500 Говорю тебе, Имо... -84 -00:08:57,333 --> 00:09:00,000 -...она есть... есть... \ No newline at end of file +00:08:57.333 --> 00:09:00.000 +...она есть... есть... diff --git a/captions/captions.sv.srt b/captions/captions.sv.srt deleted file mode 100644 index 8e9dbf9..0000000 --- a/captions/captions.sv.srt +++ /dev/null @@ -1,347 +0,0 @@ -1 -00:00:15,042 --> 00:00:18,250 -Till vänster kan vi se... -Ser vi... - -2 -00:00:18,708 --> 00:00:20,333 -Till höger ser vi... - -3 -00:00:20,417 --> 00:00:21,958 -...huvudkaparna. - -4 -00:00:22,000 --> 00:00:24,792 -Allt är säkert, -alldeles ofarligt. - -5 -00:00:24,917 --> 00:00:26,833 -Emo? - -6 -00:00:28,750 --> 00:00:30,167 -Se upp! - -7 -00:00:46,708 --> 00:00:48,750 -Är du skadad? - -8 -00:00:51,875 --> 00:00:54,458 -Jag tror inte det... -Är du? - -9 -00:00:55,292 --> 00:00:57,333 -Jag är ok. - -10 -00:00:57,542 --> 00:01:01,625 -Res dig upp Emo. -Det är inte säkert här. - -11 -00:01:02,208 --> 00:01:03,625 -Kom så går vi. - -12 -00:01:03,708 --> 00:01:05,708 -Vad nu då? - -13 -00:01:05,833 --> 00:01:07,833 -Du får se... - -14 -00:01:08,042 --> 00:01:10,417 -Du får se. - -15 -00:01:15,958 --> 00:01:18,375 -Emo, den här vägen. - -16 -00:01:34,417 --> 00:01:36,750 -Följ efter mig! - -17 -00:02:11,250 --> 00:02:13,250 -Skynda dig, Emo! - -18 -00:02:48,375 --> 00:02:50,583 -Du är inte uppmärksam! - -19 -00:02:50,708 --> 00:02:54,500 -Jag vill bara svara... -... i telefonen. - -20 -00:02:54,500 --> 00:02:58,208 -Emo, se här... -Lyssna menar jag. - -21 -00:02:59,708 --> 00:03:02,292 -Du måste lära dig att lyssna. - -22 -00:03:03,292 --> 00:03:05,208 -Det här är ingen lek. - -23 -00:03:05,250 --> 00:03:08,917 -Du... Jag menar vi, -vi skulle kunna dö här ute. - -24 -00:03:09,917 --> 00:03:11,417 -Lyssna... - -25 -00:03:11,708 --> 00:03:14,833 -Lyssna på ljuden från maskinen. - -26 -00:03:18,125 --> 00:03:21,417 -Lyssna på dina andetag. - -27 -00:04:26,625 --> 00:04:29,250 -Tröttnar du aldrig på det här? - -28 -00:04:29,542 --> 00:04:31,083 -Tröttnar!? - -29 -00:04:31,208 --> 00:04:33,458 -Emo, maskinen är som... - -30 -00:04:33,458 --> 00:04:35,333 -Som ett urverk. - -31 -00:04:35,417 --> 00:04:37,167 -Ett felsteg... - -32 -00:04:37,208 --> 00:04:39,750 -...och du blir krossad. - -33 -00:04:41,042 --> 00:04:42,292 -Men är det inte - - -34 -00:04:42,292 --> 00:04:47,000 -Krossad, Emo! -Är det vad du vill bli? Krossad till mos? - -35 -00:04:47,500 --> 00:04:50,542 -Emo, är det ditt mål i livet? - -36 -00:04:50,667 --> 00:04:53,250 -Att bli mos!? - -37 -00:05:41,375 --> 00:05:43,458 -Emo, blunda. - -38 -00:05:44,375 --> 00:05:46,542 -Varför då? -- Blunda! - -39 -00:05:51,292 --> 00:05:55,042 -Ok. -- Bra. - -40 -00:05:59,500 --> 00:06:02,750 -Vad ser du till vänster om dig Emo? - -41 -00:06:04,125 --> 00:06:06,292 -Ingenting. -- Säker? - -42 -00:06:06,333 --> 00:06:07,958 -Ingenting alls. - -43 -00:06:08,042 --> 00:06:12,625 -Jaså, och till höger om dig... -Vad ser du där, Emo? - -44 -00:06:13,750 --> 00:06:15,583 -Samma där Proog... - -45 -00:06:15,583 --> 00:06:18,083 -Exakt samma där, ingenting! - -46 -00:06:18,083 --> 00:06:19,667 -Perfekt. - -47 -00:06:40,500 --> 00:06:42,917 -Lyssna Proog! Hör du? - -48 -00:06:43,500 --> 00:06:45,125 -Kan vi gå dit? - -49 -00:06:45,208 --> 00:06:48,125 -Gå dit? -Det är inte tryggt. - -50 -00:06:49,583 --> 00:06:52,583 -Men, men... -- Tro mig, det inte säkert. - -51 -00:06:53,000 --> 00:06:54,292 -Men kanske om jag - - -52 -00:06:54,292 --> 00:06:56,333 -Nej. - -53 -00:06:57,208 --> 00:07:00,167 -Men - -- Nej, NEJ! - -54 -00:07:00,917 --> 00:07:03,792 -Några fler frågor Emo? - -55 -00:07:04,250 --> 00:07:05,875 -Nej. - -56 -00:07:09,542 --> 00:07:11,375 -Emo? -- Ja? - -57 -00:07:11,542 --> 00:07:15,667 -Emo, varför... - -58 -00:07:15,792 --> 00:07:18,583 -Varför kan du inte se skönheten i det här? - -59 -00:07:18,792 --> 00:07:21,708 -Hur det fungerar. - -60 -00:07:21,833 --> 00:07:24,000 -Hur perfekt det är. - -61 -00:07:24,083 --> 00:07:27,333 -Nej Proog, jag kan inte se det. - -62 -00:07:27,333 --> 00:07:30,333 -Jag ser det inte, för det finns inget där. - -63 -00:07:31,292 --> 00:07:35,333 -Och varför skulle jag lägga mitt liv -i händerna på något som inte finns? - -64 -00:07:35,333 --> 00:07:37,083 -Kan du berätta det för mig? -- Emo... - -65 -00:07:37,083 --> 00:07:39,167 -Svara mig! - -66 -00:07:43,500 --> 00:07:45,208 -Proog... - -67 -00:07:45,208 --> 00:07:47,083 -Du är inte frisk! - -68 -00:07:47,167 --> 00:07:49,292 -Håll dig borta från mig! - -69 -00:07:52,292 --> 00:07:55,083 -Nej! Emo! -Det är en fälla! - -70 -00:07:55,375 --> 00:07:57,208 -Heh, det är en fälla. - -71 -00:07:57,208 --> 00:08:01,708 -På vänster sida ser vi... -Babylons hängande trädgårdar! - -72 -00:08:01,958 --> 00:08:04,000 -Vad sägs om den fällan? - -73 -00:08:05,458 --> 00:08:07,333 -Nej, Emo. - -74 -00:08:08,917 --> 00:08:12,667 -Till höger ser vi... -Gissa! - -75 -00:08:12,750 --> 00:08:15,125 -Rhodos koloss! - -76 -00:08:15,375 --> 00:08:16,500 -Nej! - -77 -00:08:16,500 --> 00:08:20,250 -Kolossen på Rhodos! -Och den är här för din skull, Proog... - -78 -00:08:20,250 --> 00:08:23,250 -Bara för din skull. - -79 -00:08:50,917 --> 00:08:53,250 -Den är där... - -80 -00:08:53,625 --> 00:08:56,417 -Tro mig. -Emo... - -81 -00:08:57,000 --> 00:09:00,000 -Det är den. -Det är den... \ No newline at end of file diff --git a/captions/captions.sv.vtt b/captions/captions.sv.vtt new file mode 100644 index 0000000..4a349c3 --- /dev/null +++ b/captions/captions.sv.vtt @@ -0,0 +1,268 @@ +WEBVTT + +00:00:15.042 --> 00:00:18.250 +Till vänster kan vi se... +Ser vi... + +00:00:18.708 --> 00:00:20.333 +Till höger ser vi... + +00:00:20.417 --> 00:00:21.958 +...huvudkaparna. + +00:00:22.000 --> 00:00:24.792 +Allt är säkert, +alldeles ofarligt. + +00:00:24.917 --> 00:00:26.833 +Emo? + +00:00:28.750 --> 00:00:30.167 +Se upp! + +00:00:46.708 --> 00:00:48.750 +Är du skadad? + +00:00:51.875 --> 00:00:54.458 +Jag tror inte det... +Är du? + +00:00:55.292 --> 00:00:57.333 +Jag är ok. + +00:00:57.542 --> 00:01:01.625 +Res dig upp Emo. +Det är inte säkert här. + +00:01:02.208 --> 00:01:03.625 +Kom så går vi. + +00:01:03.708 --> 00:01:05.708 +Vad nu då? + +00:01:05.833 --> 00:01:07.833 +Du får se... + +00:01:08.042 --> 00:01:10.417 +Du får se. + +00:01:15.958 --> 00:01:18.375 +Emo, den här vägen. + +00:01:34.417 --> 00:01:36.750 +Följ efter mig! + +00:02:11.250 --> 00:02:13.250 +Skynda dig, Emo! + +00:02:48.375 --> 00:02:50.583 +Du är inte uppmärksam! + +00:02:50.708 --> 00:02:54.500 +Jag vill bara svara... +... i telefonen. + +00:02:54.500 --> 00:02:58.208 +Emo, se här... +Lyssna menar jag. + +00:02:59.708 --> 00:03:02.292 +Du måste lära dig att lyssna. + +00:03:03.292 --> 00:03:05.208 +Det här är ingen lek. + +00:03:05.250 --> 00:03:08.917 +Du... Jag menar vi, +vi skulle kunna dö här ute. + +00:03:09.917 --> 00:03:11.417 +Lyssna... + +00:03:11.708 --> 00:03:14.833 +Lyssna på ljuden från maskinen. + +00:03:18.125 --> 00:03:21.417 +Lyssna på dina andetag. + +00:04:26.625 --> 00:04:29.250 +Tröttnar du aldrig på det här? + +00:04:29.542 --> 00:04:31.083 +Tröttnar!? + +00:04:31.208 --> 00:04:33.458 +Emo, maskinen är som... + +00:04:33.458 --> 00:04:35.333 +Som ett urverk. + +00:04:35.417 --> 00:04:37.167 +Ett felsteg... + +00:04:37.208 --> 00:04:39.750 +...och du blir krossad. + +00:04:41.042 --> 00:04:42.292 +Men är det inte - + +00:04:42.292 --> 00:04:47.000 +Krossad, Emo! +Är det vad du vill bli? Krossad till mos? + +00:04:47.500 --> 00:04:50.542 +Emo, är det ditt mål i livet? + +00:04:50.667 --> 00:04:53.250 +Att bli mos!? + +00:05:41.375 --> 00:05:43.458 +Emo, blunda. + +00:05:44.375 --> 00:05:46.542 +Varför då? +- Blunda! + +00:05:51.292 --> 00:05:55.042 +Ok. +- Bra. + +00:05:59.500 --> 00:06:02.750 +Vad ser du till vänster om dig Emo? + +00:06:04.125 --> 00:06:06.292 +Ingenting. +- Säker? + +00:06:06.333 --> 00:06:07.958 +Ingenting alls. + +00:06:08.042 --> 00:06:12.625 +Jaså, och till höger om dig... +Vad ser du där, Emo? + +00:06:13.750 --> 00:06:15.583 +Samma där Proog... + +00:06:15.583 --> 00:06:18.083 +Exakt samma där, ingenting! + +00:06:18.083 --> 00:06:19.667 +Perfekt. + +00:06:40.500 --> 00:06:42.917 +Lyssna Proog! Hör du? + +00:06:43.500 --> 00:06:45.125 +Kan vi gå dit? + +00:06:45.208 --> 00:06:48.125 +Gå dit? +Det är inte tryggt. + +00:06:49.583 --> 00:06:52.583 +Men, men... +- Tro mig, det inte säkert. + +00:06:53.000 --> 00:06:54.292 +Men kanske om jag - + +00:06:54.292 --> 00:06:56.333 +Nej. + +00:06:57.208 --> 00:07:00.167 +Men - +- Nej, NEJ! + +00:07:00.917 --> 00:07:03.792 +Några fler frågor Emo? + +00:07:04.250 --> 00:07:05.875 +Nej. + +00:07:09.542 --> 00:07:11.375 +Emo? +- Ja? + +00:07:11.542 --> 00:07:15.667 +Emo, varför... + +00:07:15.792 --> 00:07:18.583 +Varför kan du inte se skönheten i det här? + +00:07:18.792 --> 00:07:21.708 +Hur det fungerar. + +00:07:21.833 --> 00:07:24.000 +Hur perfekt det är. + +00:07:24.083 --> 00:07:27.333 +Nej Proog, jag kan inte se det. + +00:07:27.333 --> 00:07:30.333 +Jag ser det inte, för det finns inget där. + +00:07:31.292 --> 00:07:35.333 +Och varför skulle jag lägga mitt liv +i händerna på något som inte finns? + +00:07:35.333 --> 00:07:37.083 +Kan du berätta det för mig? +- Emo... + +00:07:37.083 --> 00:07:39.167 +Svara mig! + +00:07:43.500 --> 00:07:45.208 +Proog... + +00:07:45.208 --> 00:07:47.083 +Du är inte frisk! + +00:07:47.167 --> 00:07:49.292 +Håll dig borta från mig! + +00:07:52.292 --> 00:07:55.083 +Nej! Emo! +Det är en fälla! + +00:07:55.375 --> 00:07:57.208 +Heh, det är en fälla. + +00:07:57.208 --> 00:08:01.708 +På vänster sida ser vi... +Babylons hängande trädgårdar! + +00:08:01.958 --> 00:08:04.000 +Vad sägs om den fällan? + +00:08:05.458 --> 00:08:07.333 +Nej, Emo. + +00:08:08.917 --> 00:08:12.667 +Till höger ser vi... +Gissa! + +00:08:12.750 --> 00:08:15.125 +Rhodos koloss! + +00:08:15.375 --> 00:08:16.500 +Nej! + +00:08:16.500 --> 00:08:20.250 +Kolossen på Rhodos! +Och den är här för din skull, Proog... + +00:08:20.250 --> 00:08:23.250 +Bara för din skull. + +00:08:50.917 --> 00:08:53.250 +Den är där... + +00:08:53.625 --> 00:08:56.417 +Tro mig. +Emo... + +00:08:57.000 --> 00:09:00.000 +Det är den. +Det är den... diff --git a/example.html b/example.html index a1fe4fd..12fbc27 100644 --- a/example.html +++ b/example.html @@ -44,11 +44,11 @@

- - - - - + + + + +
@@ -56,7 +56,7 @@ var video = videojs('video'); // fire up the plugin - var transcript = video.transcript() + var transcript = video.transcript(); // attach the widget to the page var transcriptContainer = document.querySelector('#transcript'); From af80b461e872620b7b74a0df799e7df3ac8fda42 Mon Sep 17 00:00:00 2001 From: walsh9 Date: Tue, 23 Jun 2015 21:28:08 -0400 Subject: [PATCH 3/7] Replace readystate and loaded event with new settimeout based hack --- dist/videojs-transcript.js | 35 ++++++++++++++++++++--------------- src/widget.js | 35 ++++++++++++++++++++--------------- 2 files changed, 40 insertions(+), 30 deletions(-) diff --git a/dist/videojs-transcript.js b/dist/videojs-transcript.js index e9f559e..e7ad7f9 100644 --- a/dist/videojs-transcript.js +++ b/dist/videojs-transcript.js @@ -384,8 +384,19 @@ var widget = function (plugin) { var body = utils.createEl('div', '-body'); var line, i; var fragment = document.createDocumentFragment(); - var createTranscript = function () { - var cues = track.cues(); + // activeCues returns null when the track isn't loaded (for now?) + if (!track.activeCues) { + // If cues aren't loaded, set mode to hidden, wait, and try again. + // But don't hide an active track. In that case, just wait and try again. + if (track.mode !== 'showing') { + track.mode = 'hidden'; + } + var self = this; + return window.setTimeout(function() { + createTranscriptBody(track); + }, 100); + } else { + var cues = track.cues; for (i = 0; i < cues.length; i++) { line = createLine(cues[i]); fragment.appendChild(line); @@ -393,16 +404,12 @@ var widget = function (plugin) { body.innerHTML = ''; body.appendChild(fragment); body.setAttribute('lang', track.language); - }; - if (track.readyState() !==2) { - track.load(); - track.on('loaded', createTranscript); - } else { - createTranscript(); + body.scroll = scroller(body); + body.addEventListener('click', clickToSeekHandler); + my.element.replaceChild(body, my.body); + my.body = body; } - body.scroll = scroller(body); - body.addEventListener('click', clickToSeekHandler); - return body; + }; var create = function () { var el = document.createElement('div'); @@ -421,10 +428,8 @@ var widget = function (plugin) { setTrack(plugin.currentTrack); return this; }; - var setTrack = function (track) { - var newBody = createTranscriptBody(track); - my.element.replaceChild(newBody, my.body); - my.body = newBody; + var setTrack = function (track, trackCreated) { + createTranscriptBody(track, trackCreated); }; var setCue = function (time) { var active, i, line, begin, end; diff --git a/src/widget.js b/src/widget.js index f55cf33..179035a 100644 --- a/src/widget.js +++ b/src/widget.js @@ -62,8 +62,19 @@ var widget = function (plugin) { var body = utils.createEl('div', '-body'); var line, i; var fragment = document.createDocumentFragment(); - var createTranscript = function () { - var cues = track.cues(); + // activeCues returns null when the track isn't loaded (for now?) + if (!track.activeCues) { + // If cues aren't loaded, set mode to hidden, wait, and try again. + // But don't hide an active track. In that case, just wait and try again. + if (track.mode !== 'showing') { + track.mode = 'hidden'; + } + var self = this; + return window.setTimeout(function() { + createTranscriptBody(track); + }, 100); + } else { + var cues = track.cues; for (i = 0; i < cues.length; i++) { line = createLine(cues[i]); fragment.appendChild(line); @@ -71,16 +82,12 @@ var widget = function (plugin) { body.innerHTML = ''; body.appendChild(fragment); body.setAttribute('lang', track.language); - }; - if (track.readyState() !==2) { - track.load(); - track.on('loaded', createTranscript); - } else { - createTranscript(); + body.scroll = scroller(body); + body.addEventListener('click', clickToSeekHandler); + my.element.replaceChild(body, my.body); + my.body = body; } - body.scroll = scroller(body); - body.addEventListener('click', clickToSeekHandler); - return body; + }; var create = function () { var el = document.createElement('div'); @@ -99,10 +106,8 @@ var widget = function (plugin) { setTrack(plugin.currentTrack); return this; }; - var setTrack = function (track) { - var newBody = createTranscriptBody(track); - my.element.replaceChild(newBody, my.body); - my.body = newBody; + var setTrack = function (track, trackCreated) { + createTranscriptBody(track, trackCreated); }; var setCue = function (time) { var active, i, line, begin, end; From e68620aadc2d8af589ac432f154fd7bfe0ff4b17 Mon Sep 17 00:00:00 2001 From: walsh9 Date: Tue, 23 Jun 2015 21:31:12 -0400 Subject: [PATCH 4/7] Fix tests --- dist/videojs-transcript.min.js | 3 +++ test/modules.test.js | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) create mode 100644 dist/videojs-transcript.min.js diff --git a/dist/videojs-transcript.min.js b/dist/videojs-transcript.min.js new file mode 100644 index 0000000..4ea48c5 --- /dev/null +++ b/dist/videojs-transcript.min.js @@ -0,0 +1,3 @@ +/*! videojs-transcript - v0.7.1 - 2015-06-23 +* Copyright (c) 2015 Matthew Walsh; Licensed MIT */ +!function(a,b){"use strict";!function(){for(var b=0,c=["ms","moz","webkit","o"],d=0;d1)throw Error("Second argument not supported");if("object"!=typeof b)throw TypeError("Argument must be an object");a.prototype=b;var c=new a;return a.prototype=null,c}}()),Array.prototype.forEach||(Array.prototype.forEach=function(a,b){var c,d;if(null==this)throw new TypeError(" this is null or not defined");var e=Object(this),f=e.length>>>0;if("function"!=typeof a)throw new TypeError(a+" is not a function");for(arguments.length>1&&(c=b),d=0;f>d;){var g;d in e&&(g=e[d],a.call(c,g,d,e)),d++}}),"document"in self&&!("classList"in document.createElement("_"))&&!function(a){if("Element"in a){var b="classList",c="prototype",d=a.Element[c],e=Object,f=String[c].trim||function(){return this.replace(/^\s+|\s+$/g,"")},g=Array[c].indexOf||function(a){for(var b=0,c=this.length;c>b;b++)if(b in this&&this[b]===a)return b;return-1},h=function(a,b){this.name=a,this.code=DOMException[a],this.message=b},i=function(a,b){if(""===b)throw new h("SYNTAX_ERR","An invalid or illegal string was specified");if(/\s/.test(b))throw new h("INVALID_CHARACTER_ERR","String contains an invalid character");return g.call(a,b)},j=function(a){for(var b=f.call(a.getAttribute("class")||""),c=b?b.split(/\s+/):[],d=0,e=c.length;e>d;d++)this.push(c[d]);this._updateClassName=function(){a.setAttribute("class",this.toString())}},k=j[c]=[],l=function(){return new j(this)};if(h[c]=Error[c],k.item=function(a){return this[a]||null},k.contains=function(a){return a+="",-1!==i(this,a)},k.add=function(){var a,b=arguments,c=0,d=b.length,e=!1;do a=b[c]+"",-1===i(this,a)&&(this.push(a),e=!0);while(++cd?"0"+d:d,c=b>0&&10>c?"0"+c:c,b>0?b+":"+c+":"+d:c+":"+d},localize:function(a){return a},createEl:function(b,c){c=c||"";var d=document.createElement(b);return d.className=a.prefix+c,d},extend:function(a){var b=typeof a;if(!("function"===b||"object"===b&&a))return a;for(var c,d,e=1,f=arguments.length;f>e;e++){c=arguments[e];for(d in c)a[d]=c[d]}return a}}}(c),f={handlers_:[],on:function(a,b,c){if("function"!=typeof c)throw new TypeError("Callback is not a function.");this.handlers_.push([a,b,c])},trigger:function(a,b){this.handlers_.forEach(function(c){c[0]===a&&c[1]===b&&c[2].apply()})}},g=function(a){var b=function(a){var b=this;a.addEventListener("scroll",function(){b.isAutoScrolling?b.isAutoScrolling=!1:(b.userIsScrolling=!0,a.classList.add("is-inuse"))}),a.addEventListener("mouseenter",function(){b.mouseIsOverTranscript=!0}),a.addEventListener("mouseleave",function(){b.mouseIsOverTranscript=!1,setTimeout(function(){b.mouseIsOverTranscript||(b.userIsScrolling=!1,a.classList.remove("is-inuse"))},1e3)})},c=function(a,c){return this.element=a,this.userIsScrolling=!1,this.mouseIsOverTranscript=!0,this.isAutoScrolling=!0,b.call(this,this.element),this},d=function(a,b,c,d){return b+c*Math.sin(Math.min(1,a/d)*(Math.PI/2))},e=function(a,b,c){var e=Date.now(),f=a.scrollTop,g=this;b=Math.max(0,b),b=Math.min(a.scrollHeight-a.clientHeight,b);var h=b-f,i=function(){var j=Date.now(),k=j-e;g.isAutoScrolling=!0,a.scrollTop=d(k,f,h,c),a.scrollTop!==b&&requestAnimationFrame(i,a)};requestAnimationFrame(i,a)},f=function(a){if(this.canScroll()){var b,c=a.parentElement,d=c.offsetTop+c.clientHeight,f=a.offsetTop+a.clientHeight,g=a.offsetTop-c.offsetTop,h=a.offsetTop+a.clientHeight-c.offsetTop;gc.scrollTop+c.clientHeight&&(b=f-d),void 0!==b&&c.scrollTop!==b&&e.call(this,c,b,400)}},g=function(){var a=this.element;return a.scrollHeight>a.offsetHeight},h=function(){return this.userIsScrolling};return{init:c,to:f,canScroll:g,inUse:h}}(c),h=function(a){return Object.create(g).init(a)},i=function(a){var b;return{get:function(){var a,b,d=[];for(c.tracks=c.player.textTracks(),a=0;af&&g>a?e.classList.contains("is-active")||(e.classList.add("is-active"),!b.settings.autoscroll||b.settings.stopScrollWhenInUse&&c.body.scroll.inUse()||c.body.scroll.to(e)):e.classList.remove("is-active")},q=function(){return c.element};return{create:n,setTrack:o,setCue:p,el:q,on:d,trigger:g}}(c),k=function(a){c.player=this,c.validTracks=i.get(),c.currentTrack=i.active(c.validTracks),c.settings=b.util.mergeOptions(d,a),c.widget=j.create();var e=function(){c.widget.setCue(c.player.currentTime())},f=function(){c.currentTrack=i.active(c.validTracks),c.widget.setTrack(c.currentTrack)};if(!(c.validTracks.length>0))throw new Error("videojs-transcript: No tracks found!");return f(),c.player.on("timeupdate",e),c.settings.followPlayerTrack&&(c.player.on("captionstrackchange",f),c.player.on("subtitlestrackchange",f)),{el:function(){return c.widget.el()},setTrack:c.widget.setTrack}};b.plugin("transcript",k)}(window,videojs); \ No newline at end of file diff --git a/test/modules.test.js b/test/modules.test.js index ae84db7..4768678 100644 --- a/test/modules.test.js +++ b/test/modules.test.js @@ -62,14 +62,14 @@ var track = document.createElement('track'); track.setAttribute('kind', 'captions'); - track.setAttribute('src', '../captions/captions.en.srt'); + track.setAttribute('src', '../captions/captions.en.vtt'); track.setAttribute('srclang', 'en'); track.setAttribute('label', 'English'); video.appendChild(track); var track2 = document.createElement('track'); track2.setAttribute('kind', 'subtitles'); - track2.setAttribute('src', '../captions/captions.sv.srt'); + track2.setAttribute('src', '../captions/captions.sv.vtt'); track2.setAttribute('srclang', 'sv'); track2.setAttribute('label', 'Swedish'); video.appendChild(track2); @@ -90,13 +90,13 @@ test('active() returns the default track.', function (assert) { var tracks = trackList.get(); - assert.equal(trackList.active(tracks).label(), 'English', 'Active track is defined'); + assert.equal(trackList.active(tracks).label, 'English', 'Active track is defined'); }); test('active() returns active track after track change.', function (assert) { var tracks = trackList.get(); - videojs.players['test-video'].textTracks()[1].show(); - assert.equal(trackList.active(tracks).label(), 'Swedish', 'Active track returns current track after track change.'); + videojs.players['test-video'].textTracks()[1].mode = 'showing'; + assert.equal(trackList.active(tracks).label, 'Swedish', 'Active track returns current track after track change.'); }); /******************** From fe4795d9e9e190006184fc2bd10605b178f79bd2 Mon Sep 17 00:00:00 2001 From: walsh9 Date: Tue, 23 Jun 2015 21:40:25 -0400 Subject: [PATCH 5/7] Update docs --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 49c0492..f01ab34 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ Creates interactive transcripts from text tracks. -## Alpha Release 1 +## Alpha Release 2 Please report any issues or feature requests on the tracker. Thank you! @@ -92,4 +92,8 @@ Returns the DOM element containing the html transcript widget. You'll need to ap ## Release History + - 0.7.2: Alpha Release 1 + +* Updated for video.js 4.12 + - 0.7.1: Alpha Release 1 From 9ce73b5d0800167ac0e71e604e3328e2826e14a7 Mon Sep 17 00:00:00 2001 From: walsh9 Date: Tue, 23 Jun 2015 21:48:41 -0400 Subject: [PATCH 6/7] Update docs --- README.md | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index f01ab34..0114ab7 100644 --- a/README.md +++ b/README.md @@ -92,8 +92,10 @@ Returns the DOM element containing the html transcript widget. You'll need to ap ## Release History - - 0.7.2: Alpha Release 1 +##### 0.7.2: Alpha Release 1 * Updated for video.js 4.12 - - 0.7.1: Alpha Release 1 +##### 0.7.1: Alpha Release 1 + +* First release From 4ebfe9a7df56a94067d366ef2f73629a96681fed Mon Sep 17 00:00:00 2001 From: walsh9 Date: Tue, 23 Jun 2015 21:49:12 -0400 Subject: [PATCH 7/7] Update release history --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 0114ab7..dcfced0 100644 --- a/README.md +++ b/README.md @@ -92,7 +92,7 @@ Returns the DOM element containing the html transcript widget. You'll need to ap ## Release History -##### 0.7.2: Alpha Release 1 +##### 0.7.2: Alpha Release 2 * Updated for video.js 4.12