All Projects → vizllx → Draggableyoutubefloatingvideo

vizllx / Draggableyoutubefloatingvideo

Licence: mit
This demo app will animate the view just like Youtube mobile app while tapping on video a UIView pops up from the right corner of the screen and the view can be dragged to the right corner through Pan Gesture and more features are there as Youtube iOS app. The whole design is done with Auto Layout and it is compatible with iOS 6 too. Compatible with any screen size.

Projects that are alternatives of or similar to Draggableyoutubefloatingvideo

Live Stream Recorder
Monitor and record live streams from YouTube, OPENREC, TwitCasting, etc. Made for VTuber fans. (VTuber 直播自动录像脚本)
Stars: ✭ 260 (-14.19%)
Mutual labels:  youtube
Whatsapp Bot
Whatsapp Bot - Node Js.
Stars: ✭ 271 (-10.56%)
Mutual labels:  youtube
Rsshub
🍰 Everything is RSSible
Stars: ✭ 18,111 (+5877.23%)
Mutual labels:  youtube
Audio Only Youtube
Listen to only audio on youtube.
Stars: ✭ 262 (-13.53%)
Mutual labels:  youtube
Youtube Player
YouTube iframe API abstraction.
Stars: ✭ 273 (-9.9%)
Mutual labels:  youtube
Spotify Dl
a script that allows you to download spotify songs or playlists , written in python
Stars: ✭ 275 (-9.24%)
Mutual labels:  youtube
spongebob-cli
Watch classic spongebob from the terminal!
Stars: ✭ 179 (-40.92%)
Mutual labels:  youtube
Spotiflyer
Spotify/Gaana/Youtube Music Downloader For Android!
Stars: ✭ 231 (-23.76%)
Mutual labels:  youtube
Fvid
fvid is a project that aims to encode any file as a video using 1-bit color images to survive compression algorithms for data retrieval.
Stars: ✭ 276 (-8.91%)
Mutual labels:  youtube
Multistreamer
[discontinued] A webapp for publishing video to multiple streaming services at once.
Stars: ✭ 281 (-7.26%)
Mutual labels:  youtube
Xcdyoutubekit
Stars: ✭ 2,853 (+841.58%)
Mutual labels:  youtube
Embera
A Oembed consumer library, that gives you information about urls. It helps you replace urls to youtube or vimeo for example, with their html embed code. It has advanced features like offline support, responsive embeds and caching support.
Stars: ✭ 268 (-11.55%)
Mutual labels:  youtube
Youtube Audio Stream
youtube audio stream
Stars: ✭ 276 (-8.91%)
Mutual labels:  youtube
Vue Youtube
A simple component for a powerful API. vue-youtube provides a simple layer for you to use your imagination while over the YouTube IFrame Player API.
Stars: ✭ 261 (-13.86%)
Mutual labels:  youtube
Openwhyd
💎 Like Pinterest, for Music
Stars: ✭ 287 (-5.28%)
Mutual labels:  youtube
Shaark
Self-hosted platform to keep and share your content: web links, posts, passwords and pictures.
Stars: ✭ 258 (-14.85%)
Mutual labels:  youtube
Youtubecenter
YouTube Center is a userscript designed to expand the functionality of YouTube. It includes the ability to download the video you're watching, auto selecting your preferred video quality and much more.
Stars: ✭ 2,897 (+856.11%)
Mutual labels:  youtube
Ultimate Python Resource Hub
The Ultimate resource hub of Python: All at one place
Stars: ✭ 298 (-1.65%)
Mutual labels:  youtube
Electronplayer
An Electron Based Web Video Services Player. Supporting Netflix, Youtube, Twitch, Floatplane, Hulu And More
Stars: ✭ 292 (-3.63%)
Mutual labels:  youtube
Show
🍿 Show notes, code, and future topic ideas for "Hello Rust!", a YouTube channel about the Rust programming language.
Stars: ✭ 277 (-8.58%)
Mutual labels:  youtube

DraggableFloatingViewController

Like YouTube app

DraggableFloatingViewController 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 , yes you have to prepare your video view for that.

How it works

The view 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

Screenshot

Output sample

Usage

extend this class

set your video view in "viewDidLoad" of subclass

override func viewDidLoad() {

    self.setupViewsWithVideoView(yourMoivePlayer.view, //UIView
        videoViewHeight: yourPlayerHeight, //CGFloat
        minimizeButton: yourButton //UIButton
    )

    // add your view to bodyView
    self.bodyView.addSubview(yourView)
}

in parent view controller

show

func showSecondController() {
    removeDraggableFloatingViewController()
    self.videoViewController = VideoDetailViewController()
    self.videoViewController.delegate = self
    self.videoViewController.showVideoViewControllerOnParentVC(self)
}

dismiss

func removeDraggableFloatingViewController() {
    if self.videoViewController != nil {
        self.videoViewController.removeAllViews()
        self.videoViewController = nil
    }
}

Please edit "info.plist"

To disable swipe down gesture of Notification Center, you need to edit "info.plist" to hide status bar. http://stackoverflow.com/questions/18059703/cannot-hide-status-bar-in-ios7 editInfoPlist




please override if you want

override func didExpand() {
    showVideoControl()
}
override func didMinimize() {
    hideVideoControl()
}

Please see demo app

If you want to use this, you have to check this demo app.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].