* Add more debugging for why audio might not be playing More debugging for https://github.com/vector-im/element-web/issues/20832 * Listen to events from <audio> * Make it easier to spot event type * Move to start/stop functions * Fix some lints * Protect from potentially undefined element * Needs more mocked functions * More code coverage * Test formatting * Add return types See https://github.com/matrix-org/matrix-react-sdk/pull/9642#discussion_r1036274817 * Add comment on when magic comment is applicable See https://github.com/matrix-org/matrix-react-sdk/pull/9642#discussion_r1036258757