eplayer 1.6.1 → 1.6.2

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/docs/danmaku.js +1 -1
  2. package/package.json +1 -1
package/docs/danmaku.js CHANGED
@@ -94,7 +94,7 @@ class Danmaku {
94
94
  const now = Date.now()
95
95
 
96
96
  for (let i = 0; i < this._tracks.length; i++) {
97
- track = this._tracks[i]
97
+ track = this._tracks[i] || []
98
98
 
99
99
  if (track.length) {
100
100
  // 轨道被占用,要计算是否会重叠
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eplayer",
3
- "version": "1.6.1",
3
+ "version": "1.6.2",
4
4
  "description": "A web-components html5 video player facing future",
5
5
  "main": "./docs/eplayer.js",
6
6
  "module": "./docs/eplayer.js",