Showing
1 changed file
with
3 additions
and
0 deletions
| @@ -47,6 +47,9 @@ export struct AudioDetailComponent { | @@ -47,6 +47,9 @@ export struct AudioDetailComponent { | ||
| 47 | this.duration = totalSeconds | 47 | this.duration = totalSeconds |
| 48 | } | 48 | } |
| 49 | } | 49 | } |
| 50 | + onPageHide() { | ||
| 51 | + this.playerController?.pause(); | ||
| 52 | + } | ||
| 50 | build() { | 53 | build() { |
| 51 | Row() { | 54 | Row() { |
| 52 | Column() { | 55 | Column() { |
-
Please register or login to post a comment