Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VideoScrubber

The video scrubber allows you to seek through a video that is loaded locally.

Video Scrubber

Features

  • Plays videos
  • Generates frames for video scrub bar asynchronously
  • Shows timestamp during playback
  • Smooth video scrubbing

Extras

  • Playhead bounces on scroll past the video start/end
  • Supports dark mode

Known Issues

  • Scrubbing to end and playing does not restart video on first play (playing to end does)
  • Does not support landscape (contentOffset or safeArea issue)
  • Loading a large video will result in a large amount of frames being generated with the 5 second per frame requirement – ideally this should be capped similar to how Apple limits frames

Resources used

  • AVFoundationSimplePlayer for video loading starter logic
  • Apple's Technical Q&A QA1820 on smooth video scrubbing

About

Video Scrubber

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages