/videoplayer

A video player that can be controlled by motion

Primary LanguageSwiftMIT LicenseMIT

videoplayer

A video player that can be controlled by motion.

Built with

  • UIKit
  • Swift 5
  • Clean Swift

Features

  • It loads and plays a video file after launch. Video file (http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/WeAreGoingO nBullrun.mp4)
  • A change of 10 meters of the current and previous location will reset the video and replay from the start.
  • A shake of the device should pause the video.
  • Rotation along the z-axis should be able to control the current time where the video is playing. While rotation along the x-axis should control the volume of the sound.