listen1_chrome_extension icon indicating copy to clipboard operation
listen1_chrome_extension copied to clipboard

MediaSession is not working on V3

Open Dumeng opened this issue 3 years ago • 1 comments

image

The mediaSession is not working properly on V3 branch. I wanna if anyone else also get the same issue.

This is very weird, if I comment out the initMediaSession function, it gets a higher probability to show the media control properly. However, it's not stable. When I keep attempting to reload and play music, I get a chance to see the function broken again.

Dumeng avatar Dec 20 '21 11:12 Dumeng

My mediaSession will break on very rare occasions. Refreshes seem to fix the issue. I can't reproduce it. Maybe we can try access navigator.mediaSession see the metadata is intact on a failed run?

mikelxk avatar Dec 21 '21 03:12 mikelxk