| 
														
															@@ -146,11 +146,16 @@ export default defineComponent({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }; 
														 | 
														
														 | 
														
															     }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     const checkVideoDetails = (time: number) => { 
														 | 
														
														 | 
														
															     const checkVideoDetails = (time: number) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      let status = false 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       forms.videoDetails.forEach((item: any) => { 
														 | 
														
														 | 
														
															       forms.videoDetails.forEach((item: any) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         if (item.startNode <= time && time <= item.endNode) { 
														 | 
														
														 | 
														
															         if (item.startNode <= time && time <= item.endNode) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           forms.videoSelectId = item.id; 
														 | 
														
														 | 
														
															           forms.videoSelectId = item.id; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          status = true 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         } 
														 | 
														
														 | 
														
															         } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       }); 
														 | 
														
														 | 
														
															       }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      if(!status) { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        forms.videoSelectId = null 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }; 
														 | 
														
														 | 
														
															     }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     /** 
														 | 
														
														 | 
														
															     /** 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -385,14 +390,14 @@ export default defineComponent({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         // 开始播放 
														 | 
														
														 | 
														
															         // 开始播放 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         forms.player.on('play', () => { 
														 | 
														
														 | 
														
															         forms.player.on('play', () => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          console.log('play'); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // console.log('play'); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           // 判断视频计时器是否暂停,如果暂停则恢复 
														 | 
														
														 | 
														
															           // 判断视频计时器是否暂停,如果暂停则恢复 
														 | 
													
												
											
												
													
														| 
														 | 
														
															           videoIntervalRef.resume(); 
														 | 
														
														 | 
														
															           videoIntervalRef.resume(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }); 
														 | 
														
														 | 
														
															         }); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															         // 暂停播放 
														 | 
														
														 | 
														
															         // 暂停播放 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         forms.player.on('pause', () => { 
														 | 
														
														 | 
														
															         forms.player.on('pause', () => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-          console.log('pause', videoIntervalRef.isActive.value); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+          // console.log('pause', videoIntervalRef.isActive.value); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															           videoIntervalRef.pause(); 
														 | 
														
														 | 
														
															           videoIntervalRef.pause(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         }); 
														 | 
														
														 | 
														
															         }); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -426,7 +431,7 @@ export default defineComponent({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     watch( 
														 | 
														
														 | 
														
															     watch( 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       () => videoIntervalRef.isActive.value, 
														 | 
														
														 | 
														
															       () => videoIntervalRef.isActive.value, 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       (newVal: boolean) => { 
														 | 
														
														 | 
														
															       (newVal: boolean) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-        console.log(videoIntervalRef.isActive.value, 'videoIntervalRef'); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+        // console.log(videoIntervalRef.isActive.value, 'videoIntervalRef'); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         initVideoCount(newVal); 
														 | 
														
														 | 
														
															         initVideoCount(newVal); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } 
														 | 
														
														 | 
														
															       } 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     ); 
														 | 
														
														 | 
														
															     ); 
														 | 
													
												
											
										
											
												
													
														 | 
														
															@@ -479,7 +484,7 @@ export default defineComponent({ 
														 | 
													
												
											
												
													
														| 
														 | 
														
															     }; 
														 | 
														
														 | 
														
															     }; 
														 | 
													
												
											
												
													
														| 
														 | 
														
															  
														 | 
														
														 | 
														
															  
														 | 
													
												
											
												
													
														| 
														 | 
														
															     watch(pageVisibility, (value: any) => { 
														 | 
														
														 | 
														
															     watch(pageVisibility, (value: any) => { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															-      console.log('watch', value); 
														 | 
														
														 | 
														
															 
														 | 
													
												
											
												
													
														| 
														 | 
														
															 
														 | 
														
														 | 
														
															+      // console.log('watch', value); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       if (value == 'hidden') { 
														 | 
														
														 | 
														
															       if (value == 'hidden') { 
														 | 
													
												
											
												
													
														| 
														 | 
														
															         forms.player.pause(); 
														 | 
														
														 | 
														
															         forms.player.pause(); 
														 | 
													
												
											
												
													
														| 
														 | 
														
															       } 
														 | 
														
														 | 
														
															       } 
														 |