thunder
thunder copied to clipboard
YouTube video timestamps don't appear to be working in Thunder's in-app video player.
Bug Description
If you add a timestamp to a YouTube link, the video player will start at the beginning of the video rather than at the timestamp.
Examples: https://sh.itjust.works/post/28710281/15291570 https://sh.itjust.works/post/28613782/15236650
Expected Behaviour
I would expect the video to start at the timestamp.
Steps to Reproduce
- Create a link with to a YouTube video with a timestamp in the URL.
- Open the link in Thunder
- Observe that the video player starts at the beginning of the video rather than at the specified timestamp.
Additional Context
No response
App Version
0.5.1
Device
Pixel 6
OS
Android 15
Thunder uses youtube_player_flutter
should be possible by seeking to position
_ypfController.seekTo(Duration(seconds: 20));
Edit: for devs
startAt is used rather than seekTo
flags: ypf.YoutubePlayerFlags(
controlsVisibleAtStart: true,
autoPlay: autoPlayVideo(),
enableCaption: false,
hideControls: false,
startAt: timestamp ?? 0,