All Projects → matthewlui → Fsvideoview

matthewlui / Fsvideoview

An easy video playback view for iOS

Programming Languages

swift
15916 projects

Projects that are alternatives of or similar to Fsvideoview

Fraternate
Fraternate is a standalone copy of the GitHub organization and user interaction framework. Built with Mongo dB | Node.js® | Express.js | Handlebars.js | Bootstrap.
Stars: ✭ 130 (+828.57%)
Mutual labels:  login, signup
springboot-mongodb-security
Spring Boot, Security, and Data MongoDB Authentication Example
Stars: ✭ 22 (+57.14%)
Mutual labels:  signup, login
Amloginsignup
Login/Signup ViewController for iOS
Stars: ✭ 215 (+1435.71%)
Mutual labels:  login, signup
Django Rest Registration
User-related REST API based on the awesome Django REST Framework
Stars: ✭ 240 (+1614.29%)
Mutual labels:  login, signup
ReactSignupLoginComponent
The React SignupLogin Component is a drop in login/register/forgotPassword component to speed up development.
Stars: ✭ 30 (+114.29%)
Mutual labels:  signup, login
Robin
🐧 Android login, made simple
Stars: ✭ 105 (+650%)
Mutual labels:  login, signup
Login-Signup-Templates
Collection of Login Signup Templates
Stars: ✭ 21 (+50%)
Mutual labels:  signup, login
Splashloginsignup
Source code for the Splash, Login and Signup Screen for Android | UI to Code - Timelapse YouTube Video
Stars: ✭ 69 (+392.86%)
Mutual labels:  login, signup
react-signin-form
Concept for Sign in / Sign Up form
Stars: ✭ 109 (+678.57%)
Mutual labels:  signup, login
ionic-login-component
Free sample of Premium Ionic Login Component
Stars: ✭ 17 (+21.43%)
Mutual labels:  login, filter
google-one-tap
Google One Tap Login
Stars: ✭ 37 (+164.29%)
Mutual labels:  signup, login
PHP-MySQL-User-Signup-Login-API
This step by step tutorial will guide you to setup up Login + Signup API using Core PHP + MySQL following best practices with folders structure
Stars: ✭ 58 (+314.29%)
Mutual labels:  signup, login
Node-js-functionalities
This repository contains very useful restful API's and functionalities in node-js containing many important tutorial code for mastering node-js, all tutorials have been published on medium.com, tutorials link is given below
Stars: ✭ 69 (+392.86%)
Mutual labels:  signup, login
Oauth
🔗 OAuth 2.0 implementation for various providers in one place.
Stars: ✭ 336 (+2300%)
Mutual labels:  login, signup
Pesdk Ios Examples
A fully customizable photo editor for your app.
Stars: ✭ 837 (+5878.57%)
Mutual labels:  filter
Eloquent Filter
This simple package helps you filter Eloquent data using query filters.
Stars: ✭ 24 (+71.43%)
Mutual labels:  filter
Filterrific
Filterrific is a Rails Engine plugin that makes it easy to filter, search, and sort your ActiveRecord lists.
Stars: ✭ 810 (+5685.71%)
Mutual labels:  filter
Pihole Regex
Custom regex filter list for use with Pi-hole.
Stars: ✭ 799 (+5607.14%)
Mutual labels:  filter
Apache24 Modules
Modules for Apache 2.4 and maybe 2.2
Stars: ✭ 12 (-14.29%)
Mutual labels:  filter
Kratos Selfservice Ui React Native
A reference implementation of an app using ORY Kratos for auth (login), sign up (registration), profile settings (update password), MFA/2FA, account recovery (password reset), and more for React Native. This repository is available as an expo template!
Stars: ✭ 24 (+71.43%)
Mutual labels:  login

FSVideoView - UI element support easy video playback.

Updated: I plan to not keep it as a file. I gave up. Will make it a Cocoapods and Carthage support framework

Use a video as a background is more commonly on many app nowadays .There are many different solutions, some may use gif and some may use video.For video, some choose to play directly through AVPlayerlayer, but we chose GLKView because it's more flexible, both on functionality and performance. It cost a little bit more cpu than AVPlayer but it's fun to have many interesting effect by code.

**We now support loop. You can add the videos to play, we will loop them as default.

We don't support sound. ( May be in the coming future we see a need)

Also we allow you to add simple filter to the video at real time.Because the video is finally render by an CIImage object, you just have to handle the CIImage as usually like adding an filter to it, chain them up...

    let videoView = FSVideoView(frame: view.bounds)
    var controlFlag  = 0
    videoView.filter = { image -> CIImage in
        controlFlag++
        if controlFlag % 10 > 5 {
            let filter = CIFilter(name: "CIColorInvert", withInputParameters: ["inputImage":image])!
            return filter.outputImage!
        }
        let filter = CIFilter(name: "CIColorClamp", withInputParameters: ["inputImage":image,"inputMinComponents":CIVector(CGRect: CGRect(x: 0.1, y: 0.1, width: 0.3, height: 0)),"inputMaxComponents":CIVector(CGRect: CGRectMake(0.5, 0.7, 0.9, 1))])!
        return filter.outputImage!
    }
    view.addSubview(videoView)
    view.sendSubviewToBack(videoView)
    do {
        try videoView.playVideos([path,path2],fps: 25,loop: true)
        videoView.play()
    }catch _ {
        
    }

Have fun!

Help us to improve this element if it will be fun for you.

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].