Fix buffer animation showing without media loaded
Fixes #29113
Problem
The buffer animation was showing even when no media was loaded. This happened because Player.buffering === 0 is true even in idle state.
Fix
Added a check for Player.hasMedia in the buffering animation condition.