[翻译] DraggableYoutubeFloatingVideo
DraggableYoutubeFloatingVideo
DraggableYoutubeFloatingVideo allows you to play videos on a floating mini window at the bottom of your screen from sites like YouTube, Vimeo & Facebook or custom video url , yes you have to specify URL for that.
DraggableYoutubeFloatingVideo允许你在一个浮窗上面播放视频,就像Youtube、Vimeo、或者是Facebook的自定义视频窗口一样。
Initialize from a storyboard id programmatically. Set the video URL , then you're pretty much good to go! Check out the demo app to see how it can be used.
从storyboard初始化,设置一个视频的链接地址,然后你就可以使用了,你可以在demo演示中查看用法。
This demo app will animate the view just like Youtube mobile app, while tapping on video a UIView pops up from right corner of the screen and the view can be dragged to right corner through Pan Gesture and more features are there as Youtube iOS app
这个demo中的动画效果就像Youtube的app一样,可以通过手的滑动来改变视频播放界面的大小。