@zenvor/hls.js 1.0.0 → 1.0.1

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.
package/README.md CHANGED
@@ -1,8 +1,14 @@
1
- [![npm](https://img.shields.io/npm/v/hls.js.svg?style=flat)](https://npmjs.org/package/hls.js)
2
- [![npm](https://img.shields.io/npm/v/hls.js/canary.svg?style=flat)](https://www.npmjs.com/package/hls.js/v/canary)
3
- [![](https://data.jsdelivr.com/v1/package/npm/hls.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/hls.js)
1
+ > **Fork Declaration**
2
+ > This repository is a modified fork of [video-dev/hls.js](https://github.com/video-dev/hls.js),
3
+ > originally developed by [Dailymotion](https://www.dailymotion.com) and maintained by [video-dev](https://github.com/video-dev), licensed under the [Apache-2.0 License](./LICENSE).
4
+ > Changes have been made to the original source; this fork is **not** affiliated with
5
+ > or endorsed by the original authors.
6
+
7
+ [![npm](https://img.shields.io/npm/v/@zenvor/hls.js.svg?style=flat)](https://npmjs.org/package/@zenvor/hls.js)
8
+ [![npm](https://img.shields.io/npm/v/@zenvor/hls.js/canary.svg?style=flat)](https://www.npmjs.com/package/@zenvor/hls.js/v/canary)
9
+ [![](https://data.jsdelivr.com/v1/package/npm/@zenvor/hls.js/badge?style=rounded)](https://www.jsdelivr.com/package/npm/@zenvor/hls.js)
4
10
  [![Sauce Test Status](https://saucelabs.com/buildstatus/robwalch)](https://app.saucelabs.com/u/robwalch)
5
- [![jsDeliver](https://data.jsdelivr.com/v1/package/npm/hls.js/badge)](https://www.jsdelivr.com/package/npm/hls.js)
11
+ [![jsDelivr](https://data.jsdelivr.com/v1/package/npm/@zenvor/hls.js/badge)](https://www.jsdelivr.com/package/npm/@zenvor/hls.js)
6
12
 
7
13
  [comment]: <> ([![Sauce Test Status]&#40;https://saucelabs.com/browser-matrix/robwalch.svg&#41;]&#40;https://saucelabs.com/u/robwalch&#41;)
8
14
 
@@ -135,12 +141,12 @@ You can safely require this library in Node and **absolutely nothing will happen
135
141
 
136
142
  ## Getting started with development
137
143
 
138
- [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/video-dev/hls.js/tree/master?title=HLS.JS)
144
+ [![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/zenvor/hls.js/tree/master?title=HLS.JS)
139
145
 
140
146
  First, checkout the repository and install the required dependencies
141
147
 
142
148
  ```sh
143
- git clone https://github.com/video-dev/hls.js.git
149
+ git clone https://github.com/zenvor/hls.js.git
144
150
  cd hls.js
145
151
  # After cloning or pulling from the repository, make sure all dependencies are up-to-date
146
152
  npm install ci
@@ -298,7 +304,7 @@ HLS.js is supported on:
298
304
  - Edge for Windows 10+
299
305
  - Safari 9+ for macOS 10.11+
300
306
  - Safari for iPadOS 13+
301
- - Safari for iOS 17.1+ since HLS version [1.5.0](https://github.com/video-dev/hls.js/releases/tag/v1.5.0) using Managed Media Source (MMS) [WebKit blog](https://webkit.org/blog/14735/webkit-features-in-safari-17-1/)
307
+ - Safari for iOS 17.1+ since HLS version [1.5.0](https://github.com/zenvor/hls.js/releases/tag/v1.5.0) using Managed Media Source (MMS) [WebKit blog](https://webkit.org/blog/14735/webkit-features-in-safari-17-1/)
302
308
 
303
309
  A [Promise polyfill](https://github.com/taylorhakes/promise-polyfill) is required in browsers missing native promise support.
304
310
 
@@ -316,17 +322,17 @@ Find a support matrix of the MediaSource API here: https://developer.mozilla.org
316
322
 
317
323
  ### Installation
318
324
 
319
- Prepackaged builds are included [with each release](https://github.com/video-dev/hls.js/releases). Or install the hls.js as a dependency
325
+ Prepackaged builds are included [with each release](https://github.com/zenvor/hls.js/releases). Or install the hls.js as a dependency
320
326
  of your project:
321
327
 
322
328
  ```sh
323
- npm install --save hls.js
329
+ npm install --save @zenvor/hls.js
324
330
  ```
325
331
 
326
332
  A canary channel is also available if you prefer to work off the development branch (master):
327
333
 
328
334
  ```
329
- npm install hls.js@canary
335
+ npm install @zenvor/hls.js@canary
330
336
  ```
331
337
 
332
338
  ### Embedding HLS.js
@@ -335,9 +341,9 @@ Directly include dist/hls.js or dist/hls.min.js in a script tag on the page. Thi
335
341
  native browser support for HLS playback in HTMLMediaElements:
336
342
 
337
343
  ```html
338
- <script src="https://cdn.jsdelivr.net/npm/hls.js@1"></script>
344
+ <script src="https://cdn.jsdelivr.net/npm/@zenvor/hls.js@1"></script>
339
345
  <!-- Or if you want the latest version from the main branch -->
340
- <!-- <script src="https://cdn.jsdelivr.net/npm/hls.js@canary"></script> -->
346
+ <!-- <script src="https://cdn.jsdelivr.net/npm/@zenvor/hls.js@canary"></script> -->
341
347
  <video id="video"></video>
342
348
  <script>
343
349
  var video = document.getElementById('video');
@@ -365,9 +371,9 @@ native browser support for HLS playback in HTMLMediaElements:
365
371
  To check for native browser support first and then fallback to HLS.js, swap these conditionals. See [this comment](https://github.com/video-dev/hls.js/pull/2954#issuecomment-670021358) to understand some of the tradeoffs.
366
372
 
367
373
  ```html
368
- <script src="https://cdn.jsdelivr.net/npm/hls.js@1"></script>
374
+ <script src="https://cdn.jsdelivr.net/npm/@zenvor/hls.js@1"></script>
369
375
  <!-- Or if you want the latest version from the main branch -->
370
- <!-- <script src="https://cdn.jsdelivr.net/npm/hls.js@canary"></script> -->
376
+ <!-- <script src="https://cdn.jsdelivr.net/npm/@zenvor/hls.js@canary"></script> -->
371
377
  <video id="video"></video>
372
378
  <script>
373
379
  var video = document.getElementById('video');
package/dist/hls.js CHANGED
@@ -1175,7 +1175,7 @@
1175
1175
  // Some browsers don't allow to use bind on console object anyway
1176
1176
  // fallback to default if needed
1177
1177
  try {
1178
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.0.0");
1178
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.0.1");
1179
1179
  } catch (e) {
1180
1180
  /* log fn threw an exception. All logger methods are no-ops. */
1181
1181
  return createLogger();
@@ -17578,7 +17578,7 @@
17578
17578
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
17579
17579
  }
17580
17580
 
17581
- var version = "1.0.0";
17581
+ var version = "1.0.1";
17582
17582
 
17583
17583
  // ensure the worker ends up in the bundle
17584
17584
  // If the worker should not be included this gets aliased to empty.js
package/dist/hls.light.js CHANGED
@@ -1175,7 +1175,7 @@
1175
1175
  // Some browsers don't allow to use bind on console object anyway
1176
1176
  // fallback to default if needed
1177
1177
  try {
1178
- newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.0.0");
1178
+ newLogger.log("Debug logs enabled for \"" + context + "\" in hls.js version " + "1.0.1");
1179
1179
  } catch (e) {
1180
1180
  /* log fn threw an exception. All logger methods are no-ops. */
1181
1181
  return createLogger();
@@ -23291,7 +23291,7 @@
23291
23291
  return !remuxResult.audio && !remuxResult.video && !remuxResult.text && !remuxResult.id3 && !remuxResult.initSegment;
23292
23292
  }
23293
23293
 
23294
- var version = "1.0.0";
23294
+ var version = "1.0.1";
23295
23295
 
23296
23296
  // ensure the worker ends up in the bundle
23297
23297
  // If the worker should not be included this gets aliased to empty.js