When using react-player to play a Vimeo video, the first render of the video player appears to happen twice: <video src="https://github.com/user-attachments/assets/9a60fa1a-bb84-417e-83aa-77b9f12299c8" /> When the re-render occurs, any changes to `currentTime` are lost which is breaking functionality: <video src="https://github.com/user-attachments/assets/79a92a6a-4cd0-401a-a91a-1e2bbd71b822" /> This only happens when using the latest `vimeo-video-element@1.7.2`, and doesn't reproduce on 1.7.1: <video src="https://github.com/user-attachments/assets/20de1093-1802-4ee4-98b1-08b1f1d47363" /> This also does not happen on subsequent loads of the same player: <video src="https://github.com/user-attachments/assets/b6fb19e6-f522-4c19-b50a-edc8c5d0e95f" /> This reproduces regardless of underlying `@vimeo/player` version, and reproduces on the latest `@vimeo/player@2.30.4`. The above were all recorded on a basic `create-next-app` project. Let me know if I can provide any more details to help out :) thanks!
When using react-player to play a Vimeo video, the first render of the video player appears to happen twice:
Screen.Recording.2026-07-02.at.2.10.46.pm.mov
When the re-render occurs, any changes to
currentTimeare lost which is breaking functionality:Screen.Recording.2026-07-03.at.9.37.51.am.mov
This only happens when using the latest
vimeo-video-element@1.7.2, and doesn't reproduce on 1.7.1:Screen.Recording.2026-07-02.at.2.19.51.pm.mov
This also does not happen on subsequent loads of the same player:
Screen.Recording.2026-07-02.at.2.21.16.pm.mov
This reproduces regardless of underlying
@vimeo/playerversion, and reproduces on the latest@vimeo/player@2.30.4.The above were all recorded on a basic
create-next-appproject. Let me know if I can provide any more details to help out :) thanks!