Since |playerShowing| is set by the callback of player.onloadedmetadata, we may need to consider that we hidePlayer before the callback is triggered. If that so, window.navigator.mozNfc.onpeerready will not be cleared and it might cause some bug.