mirror of
https://code.equilibrium.co.ao/ITO/doneit-web.git
synced 2026-04-19 13:02:56 +00:00
fix
This commit is contained in:
@@ -24,7 +24,7 @@ export class VisibilityDirective {
|
||||
entries.forEach(entry => {
|
||||
if (entry.isIntersecting) {
|
||||
this.appVisibility(true);
|
||||
// this.stopvideoService.registerVideo(this.elementRef.nativeElement)
|
||||
this.stopvideoService.registerVideo(this.elementRef.nativeElement)
|
||||
} else {
|
||||
this.elementRef.nativeElement.pause()
|
||||
// Pause video when not visible
|
||||
|
||||
Reference in New Issue
Block a user