自定义iOS视图背景视频:JSVideo

jopen 10年前

JSVideo可以帮助你增加自定义背景视频在你的视图控制器中。

用法:

  • 复制在JSVideo文件夹中的所有文件到您的项目
  • 添加你的自定义视频, You can include a different video with the same name and -568h extension for iPhone5 screens. Eg: "movie.mp4" and "movie-568h.mp4"
  • Fill JSVideoController-Info.plist file in order to set up and get your yoursource video.
  • Extend your view controller from JSVideoViewController. Eg: MyViewController:JSVideoViewController

  • Run your project!

项目主页:http://www.open-open.com/lib/view/home/1401180771136