nanoplayer 0.1.0 → 0.1.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.
Files changed (2) hide show
  1. package/README.md +20 -1
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -29,6 +29,25 @@ NanoPlayer — лёгкий, dependency-free HTML5 видеоплеер на ч
29
29
  ```
30
30
  npm install nanoplayer
31
31
  ```
32
+
33
+ В html
34
+ ```
35
+ <link rel="stylesheet" href="https://unpkg.com/nanoplayer@latest/dist/nanoplayer.css">
36
+ <script src="https://unpkg.com/nanoplayer@latest/dist/nanoplayer.umd.js"></script>
37
+ ```
38
+ Допольнительный cdn
39
+ ```
40
+ https://cdn.jsdelivr.net/npm/nanoplayer@latest/dist/nanoplayer.umd.js
41
+ https://cdn.jsdelivr.net/npm/nanoplayer@latest/dist/nanoplayer.css
42
+ ```
43
+ ES модули
44
+ ```
45
+ https://cdn.jsdelivr.net/npm/nanoplayer@latest/dist/nanoplayer.es.js
46
+ https://cdn.jsdelivr.net/npm/nanoplayer@latest/dist/nanoplayer.css
47
+
48
+ https:/unpkg.com/nanoplayer@latest/dist/nanoplayer.es.js
49
+ https:/unpkg.com/nanoplayer@latest/dist/nanoplayer.css
50
+ ```
32
51
  ---
33
52
 
34
53
  ## Быстрый старт
@@ -43,7 +62,7 @@ HTML (UMD):
43
62
  <script>
44
63
  new NanoPlayer('#player', {
45
64
  src: 'video.mp4',
46
- poster: 'poster.jpg'
65
+ poster: 'poster.jpg' // необязательно
47
66
  })
48
67
  </script>
49
68
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nanoplayer",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "NanoPlayer — lightweight vanilla JavaScript video player",
5
5
  "main": "dist/nanoplayer.umd.js",
6
6
  "module": "dist/nanoplayer.es.js",