Hello,
isPlaying() method removed on the new version ?
You shouldn't be calling methods on UI components to query the state of the player (in V1 or V2). If you want to query the state of the player, query it directly.
A one minute investigation as to what that method did in V1 (by looking here) would tell you that it's equivalent to calling getPlayWhenReady directly on the player.
thank you @ojw28
Isn't this getPlayWhenReady indicate the autoplay feature? isPlaying is expected to return true if the player is currently playing otherwise it will return false.
Most helpful comment
You shouldn't be calling methods on UI components to query the state of the player (in V1 or V2). If you want to query the state of the player, query it directly.
A one minute investigation as to what that method did in V1 (by looking here) would tell you that it's equivalent to calling
getPlayWhenReadydirectly on the player.