How to synchronize speaker and microphone?

When I try to share a YouTube clip, the microphone on jitsi meet will automatically turn off and if I try to enable jitsi meet microphone, the YouTube speaker will then automatically turn off. In this case, the meeting participants can not hear the sound from YouTube.

Please advise how to solve this problem?

Thanks a lot,