@grfzhl/vue-hls-player 1.0.14 → 1.0.16

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -393,6 +393,7 @@ function changeSpeed(e) {
393
393
  .video-player-theme-container, .hls-player {
394
394
  width: 100%;
395
395
  height: 100%;
396
+ margin: 0;
396
397
  }
397
398
 
398
399
  .video-player-theme-container video {
@@ -410,7 +411,7 @@ function changeSpeed(e) {
410
411
  top: 0;
411
412
  width: 100%;
412
413
  z-index: 99;
413
- background: linear-gradient(180deg, rgba(2,0,36,1) 0%, rgba(0,0,0,0) 100%);
414
+ background: transparent;
414
415
  -webkit-transition: 1.5s ease-in-out;
415
416
  -moz-transition: 1.5s ease-in-out;
416
417
  transition: 1.5s ease-in-out;
@@ -304,6 +304,9 @@ async function parseTXT(fileUrl) {
304
304
 
305
305
  // Hilfsfunktionen
306
306
  function timeToSeconds(timestamp) {
307
+ if(!timestamp) {
308
+ return 0
309
+ }
307
310
  const [hours, minutes, seconds] = timestamp.split(':').map(parseFloat);
308
311
  return hours * 3600 + minutes * 60 + seconds;
309
312
  }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@grfzhl/vue-hls-player",
3
3
  "private": false,
4
- "version": "1.0.14",
4
+ "version": "1.0.16",
5
5
  "type": "module",
6
6
  "files": [
7
7
  "dist"