ucservice 1.6.3 → 1.6.4
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/dist/ucservice.common.js +4 -4
- package/dist/ucservice.common.js.gz +0 -0
- package/dist/ucservice.common.js.map +1 -1
- package/dist/ucservice.umd.js +4 -4
- package/dist/ucservice.umd.js.gz +0 -0
- package/dist/ucservice.umd.js.map +1 -1
- package/dist/ucservice.umd.min.js +1 -1
- package/dist/ucservice.umd.min.js.gz +0 -0
- package/dist/ucservice.umd.min.js.map +1 -1
- package/package.json +1 -1
- package/src/scooper.video.js +3 -3
package/package.json
CHANGED
package/src/scooper.video.js
CHANGED
|
@@ -1333,7 +1333,7 @@
|
|
|
1333
1333
|
let target = item.target
|
|
1334
1334
|
if(document.querySelector(_self.selector)){
|
|
1335
1335
|
let videoLi = {}
|
|
1336
|
-
Array.prototype.slice.call(document.querySelector(
|
|
1336
|
+
Array.prototype.slice.call(document.querySelector(_self.selector).querySelectorAll('li'), 0).forEach(liItem => {
|
|
1337
1337
|
videoLi[$(liItem).attr('index')] = liItem
|
|
1338
1338
|
})
|
|
1339
1339
|
_self.VIDEO_DATA.forEach((item, index) => {
|
|
@@ -1366,7 +1366,7 @@
|
|
|
1366
1366
|
let target = item.target
|
|
1367
1367
|
if(document.querySelector(_self.selector)){
|
|
1368
1368
|
let videoLi = {}
|
|
1369
|
-
Array.prototype.slice.call(document.querySelector(
|
|
1369
|
+
Array.prototype.slice.call(document.querySelector(_self.selector).querySelectorAll('li'), 0).forEach(liItem => {
|
|
1370
1370
|
videoLi[$(liItem).attr('index')] = liItem
|
|
1371
1371
|
})
|
|
1372
1372
|
_self.VIDEO_DATA.forEach((item, index) => {
|
|
@@ -3507,7 +3507,7 @@
|
|
|
3507
3507
|
//<video>注册playing/canplay事件,用于判断视频播放成功
|
|
3508
3508
|
self.tagBox.bind("canplay play playing", function () {
|
|
3509
3509
|
if(self.video){
|
|
3510
|
-
if (self.tagBox.is(':visible')) return;
|
|
3510
|
+
// if (self.tagBox.is(':visible')) return;
|
|
3511
3511
|
// 清除播放监测定时任务,清除内容
|
|
3512
3512
|
self.playSucTimeOutIndex > 0 && clearTimeout(self.playSucTimeOutIndex);
|
|
3513
3513
|
self.tagBox.parent().find(".video-tip").remove();
|