videoClick.js:22 Failed to execute 'play' on 'HTMLMediaElement': API canonly be initiated by a usergesture. @ videoClick.js:22
Uncaught (in promise) DOMException: play() canonly be initiated by a usergesture.</
组件的ngOnInit如下所示 this.userRole$ = this.store.select(selectUserProfile).pipe( map(user => parseUserRole(user.role))}<p> User role is {{ userRole$ | async在component.ts中,我添加了以下代码来调试这个问题
this.us
hobby_pc.medispeak I/chromium: [INFO:CONSOLE(0)] "Failed to execute 'play' on 'HTMLMediaElement': API canonly be initiated by a usergesture12277/hobby_pc.medispeak I/chromium: [INFO:CONSOLE(59)] "Uncaught (in promise)
WARNING: pip is being invoked by an old script wrapper.This will fail in a future version of pip.To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.WARNING: pip is being invoked by an old script wrapper.This will <e