Fix nl_NL locale
authorChocobozzz <me@florianbigard.com>
Tue, 13 Aug 2019 09:04:27 +0000 (11:04 +0200)
committerChocobozzz <me@florianbigard.com>
Tue, 13 Aug 2019 09:04:27 +0000 (11:04 +0200)
client/src/assets/player/p2p-media-loader/p2p-media-loader-plugin.ts
client/src/locale/target/angular_nl_NL.xml

index bbd3e008d32cf09ee3538aa2cac6525b177a7883..7a0af6e8a779bf853d90e25343cbe56095452357 100644 (file)
@@ -57,6 +57,7 @@ class P2pMediaLoaderPlugin extends Plugin {
     initVideoJsContribHlsJsPlayer(player)
 
     this.startTime = timeToInt(options.startTime)
+    console.log(this.startTime)
 
     player.src({
       type: options.type,
@@ -98,10 +99,25 @@ class P2pMediaLoaderPlugin extends Plugin {
     this.runStats()
 
     this.hlsjs.on('hlsLevelLoaded', () => {
-      if (this.startTime) this.player.currentTime(this.startTime)
+      console.log('hello1')
+      if (this.startTime) {
+        this.player.currentTime(this.startTime)
+      }
 
       this.hlsjs.off('hlsLevelLoaded', this)
     })
+
+    this.hlsjs.on('hlsFragParsed', () => {
+      console.log('hello2')
+    })
+
+    this.hlsjs.on('hlsFragBuffered', () => {
+      console.log('hello 3')
+    })
+
+    this.player.one('loadedmetadata', () => {
+      console.log('hello 4')
+    })
   }
 
   private runStats () {
index c30c6351af3de110142e55c161ae0920ba9c9ddc..fd18f52315cd7f8981ac50848b32e309e7ee97a0 100644 (file)
@@ -2907,7 +2907,7 @@ Het ziet ernaar uit dat je op een server bent zonder HTTPS. Op je webserver moet
       </trans-unit>
       <trans-unit id="16e81be2315b29492395d99ba53a83e770430494">
         <source>{VAR_PLURAL, plural, =1 {result} other {results} }</source>
-        <target>{VAR_PLURAL, plural, =1 {result} anderer {results} }</target>
+        <target>{VAR_PLURAL, plural, =1 {result} other {results} }</target>
         <context-group name="null">
           <context context-type="linenumber">23</context>
         </context-group>