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