All Projects → changsanjiang → Sjfullscreenpopgesture

changsanjiang / Sjfullscreenpopgesture

Licence: mit
Fullscreen pop gesture. OC&Swift. It is very suitable for the application of the video player. Support `cocoapods`. 只需`pod`即可自带全屏返回手势. 支持pod. 支持OC&Swift.

Projects that are alternatives of or similar to Sjfullscreenpopgesture

Yjplay
一个支持自定义UI布局,流式API, 加密,直播 ,亮度,音量,快进等手势 ,广告视频预览,多种加载模式 ,多种分辨率切换 ,多种封面图, 自定义数据源,列表播放,倍数播放,边播变缓存<font color="red">不是使用AndroidVideoCache</font>,离线播放,神奇的播放器
Stars: ✭ 1,700 (+539.1%)
Mutual labels:  video-player, fullscreen
Abmediaview
Media view which subclasses UIImageView, and can display & load images, videos, GIFs, and audio and from the web, and has functionality to minimize from fullscreen, as well as show GIF previews for videos.
Stars: ✭ 79 (-70.3%)
Mutual labels:  video-player, fullscreen
Giraffeplayer2
out of the box android video player(support lazy load, ListView/RecyclerView and hight performance)
Stars: ✭ 344 (+29.32%)
Mutual labels:  video-player, fullscreen
chrome-extension-aspectratio219
🖥️ Fit the screen properly in fullscreen mode on monitor ultrawide with 21:9 aspect ratio (Netflix, Youtube, PrimeVideo, Crunchyroll)
Stars: ✭ 28 (-89.47%)
Mutual labels:  video-player, fullscreen
expand-cell-fullscreen
Expand Jupyter notebook cell to entire screen
Stars: ✭ 14 (-94.74%)
Mutual labels:  fullscreen
Image-Processing
A set of algorithms and other cool things that I learned while doing image processing with openCV using C++ and python.
Stars: ✭ 29 (-89.1%)
Mutual labels:  video-player
Super-Stitch
一款视频超级拼接软件
Stars: ✭ 28 (-89.47%)
Mutual labels:  video-player
GPS-Video-Logger
Android App to record video and track GPS data simultaneously. GPS Logger with Video. GPS and video recording.
Stars: ✭ 17 (-93.61%)
Mutual labels:  video-player
Playerbase
The basic library of Android player will process complex business components. The access is simple。Android播放器基础库,专注于播放视图组件的高复用性和组件间的低耦合,轻松处理复杂业务。
Stars: ✭ 2,814 (+957.89%)
Mutual labels:  fullscreen
react-native-vimeo-iframe
No description or website provided.
Stars: ✭ 17 (-93.61%)
Mutual labels:  video-player
vue3-video-player
vue3 version of vue-core-video-player
Stars: ✭ 45 (-83.08%)
Mutual labels:  video-player
x5 webview flutter
一个基于腾讯x5引擎的webview flutter插件,简化集成,一行代码打开视频播放,暂时只支持android使用
Stars: ✭ 90 (-66.17%)
Mutual labels:  video-player
X1Player
iOS端封装的视频播放器.支持直播,录播视频的播放,支持常用的播放界面控制,类似于ijkplayer 优点是体积更小,使用快捷
Stars: ✭ 21 (-92.11%)
Mutual labels:  video-player
floating-video-player-android
Floating VideoPlayer sample project with plugin
Stars: ✭ 17 (-93.61%)
Mutual labels:  video-player
framework
A creative coding library.
Stars: ✭ 35 (-86.84%)
Mutual labels:  video-player
vue3-video-play
适用于 Vue3 的 hls.js 播放器组件,配置丰富,界面还算好看
Stars: ✭ 108 (-59.4%)
Mutual labels:  video-player
Android-VimeoPlayer
Unofficial Vimeo video player library for Android.
Stars: ✭ 46 (-82.71%)
Mutual labels:  video-player
KingPlayer
🎬 一个专注于 Android 视频播放器的基础库,无缝切换内核。(IjkPlayer、ExoPlayer、VlcPlayer、MediaPlayer)
Stars: ✭ 35 (-86.84%)
Mutual labels:  video-player
vue-h5-video
基于vue的H5视频播放器
Stars: ✭ 65 (-75.56%)
Mutual labels:  video-player
moe.TV
watch bangumi on your tvOS
Stars: ✭ 25 (-90.6%)
Mutual labels:  video-player

SJFullscreenPopGesture

CI Status Version License Platform

Example

To run the example project, clone the repo, and run pod install from the Example directory first.

Installation

SJFullscreenPopGesture is available through CocoaPods. To install it, simply add the following line to your Podfile:

    # ObjC 
    pod 'SJFullscreenPopGesture/ObjC'
    
    # Swift
    pod 'SJFullscreenPopGesture/Swift'

Author

changsanjiang, [email protected]

License

SJFullscreenPopGesture is available under the MIT license. See the LICENSE file for more info.

手势功能介绍

这个手势返回库交换了导航控制器的push方法, 以便触发push操作时, 生成底部视图的snapshot.

  1. 可设置手势类型: 全屏手势 || 边缘手势.
// default is `SJFullscreenPopGestureType_EdgeLeft`.
typedef NS_ENUM(NSUInteger, SJFullscreenPopGestureType) {
    SJFullscreenPopGestureType_EdgeLeft,    // 默认, 屏幕左边缘触发手势
    SJFullscreenPopGestureType_Full,        // 全屏触发手势
};
  1. 可设置Pop返回时的动画效果 目前有两种:

  2. 可在某个ViewController禁用手势

  3. 可兼容 WKWebView 手势返回

  4. 可设置盲区, 在这个区域不触发手势

  5. 可设置手势触发过程中的回调

/// 将要拖拽
@property (nonatomic, copy, readwrite, nullable) void(^sj_viewWillBeginDragging)(__kindof UIViewController *vc);
/// 拖拽中
@property (nonatomic, copy, readwrite, nullable) void(^sj_viewDidDrag)(__kindof UIViewController *vc);
/// 结束拖拽
@property (nonatomic, copy, readwrite, nullable) void(^sj_viewDidEndDragging)(__kindof UIViewController *vc);
  1. 可设置返回界面的显示模式, 目前有两种: 1. 使用快照(也可称截屏) 2. 使用原始视图(默认)
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].