All Projects → ertugrulkaragoz → SuperForwardView

ertugrulkaragoz / SuperForwardView

Licence: MIT License
A lightweight android library that allows to you create custom fast forward/rewind animations like on Netflix.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to SuperForwardView

DoubleTapPlayerView
YouTube's Fast-Forward-Rewind double tapping feature built on top of ExoPlayer
Stars: ✭ 81 (+8%)
Mutual labels:  video-player, forwarding, rewind
Free Email Forwarding
The best free email forwarding for custom domains. Visit our website to get started (SMTP server)
Stars: ✭ 2,024 (+2598.67%)
Mutual labels:  forwarding, forward
p2p-forwarder
P2P Forwarder - a tool for farwarding tcp/udp ports. Made using libp2p.
Stars: ✭ 31 (-58.67%)
Mutual labels:  forwarding, forward
dailymotion-player-sdk-ios
Dailymotion Player SDK for iOS
Stars: ✭ 58 (-22.67%)
Mutual labels:  video-player
brook
Brook 端口转发 一键管理脚本修改版 增加了对动态域名的支持 基于逗比版本修改而来
Stars: ✭ 113 (+50.67%)
Mutual labels:  forward
vue-visual
Vue 2 image and video loader supporting lazy loading, background videos, fixed aspect ratios, low rez poster images, transitions, loaders, slotted content and more.
Stars: ✭ 56 (-25.33%)
Mutual labels:  video-player
flutter video list sample
Flutter workout to play video list
Stars: ✭ 30 (-60%)
Mutual labels:  video-player
vcplayerbot
Play songs directly in telegram voice chats.
Stars: ✭ 48 (-36%)
Mutual labels:  video-player
react-video-players
📺 Library of React video player components that offer a consistent interface and callback system for Vimeo, YouTube and the <video> tag. Along with a handy higher order component for building your own 😉
Stars: ✭ 13 (-82.67%)
Mutual labels:  video-player
tutorials-hg1
These tutorials demonstrate the usage of the Harfang API
Stars: ✭ 12 (-84%)
Mutual labels:  video-player
mps
MPS is a high-performance HTTP(S) proxy library that supports forward proxies, reverse proxies, man-in-the-middle proxies, tunnel proxies, Websocket proxies. MPS 是一个高性能HTTP(s)中间代理库,它支持正向代理、反向代理、中间人代理、隧道代理、Websocket代理
Stars: ✭ 64 (-14.67%)
Mutual labels:  forward
nani
Crunchyroll without the bloat
Stars: ✭ 63 (-16%)
Mutual labels:  video-player
KTVideoMonitor
📹KTVideoMonitor视频监控Demo-基于ijkPlayer的网络播放器,支持HTTP、RTMP、HLS(m3u8)、本地视频等多种格式
Stars: ✭ 22 (-70.67%)
Mutual labels:  video-player
wsPlayer
wsPlayer is a web video player based on WebSocket-fmp4.
Stars: ✭ 88 (+17.33%)
Mutual labels:  video-player
sshtun
Go package to create SSH tunnels
Stars: ✭ 62 (-17.33%)
Mutual labels:  forwarding
clappr-stats
A clappr plugin to report playback statuses (timers: session, buffering, watch and counters: play, pause, error, fps)
Stars: ✭ 40 (-46.67%)
Mutual labels:  video-player
youtube-preview
An extension for previewing YouTube video on its thumbnail when hovering.
Stars: ✭ 61 (-18.67%)
Mutual labels:  rewind
syncwatch
Browser extension to watch videos together
Stars: ✭ 48 (-36%)
Mutual labels:  video-player
IQPlayer
Simple video player with subtitle for flutter.
Stars: ✭ 16 (-78.67%)
Mutual labels:  video-player
v-clappr
👏🏻Vue.js wrapper for Clappr media player
Stars: ✭ 18 (-76%)
Mutual labels:  video-player

SuperForwardView

About

A lightweight android library that allows to you create custom fast forward/rewind animations like on Netflix.

GIF

Design Credits

All design and inspiration credits belongs to Netflix.

Setup

  • Add it in your root build.gradle at the end of repositories:
allprojects {
	repositories {
		...
		maven { url 'https://jitpack.io' }
	}
}
  • Add the dependency
dependencies {
        implementation 'com.github.ertugrulkaragoz:SuperForwardView:0.2'
}

Usage

  • Add SuperForwardView in your layout:
 Width / height must be equal to 2. Otherwise it will not work properly.
 <me.ertugrul.lib.Forward
        android:id="@+id/forward"
        android:layout_width="100dp"
        android:layout_height="50dp"
        app:f_color="#ffffff"
        app:f_textSize="15sp"
        app:f_arrowSize="10dp"
        app:f_strokeWidth="3dp" />

 <me.ertugrul.lib.Rewind
        android:id="@+id/rewind"
        android:layout_width="100dp"
        android:layout_height="50dp"
        app:r_color="#ffffff"
        app:r_textSize="15sp"
        app:r_arrowSize="10dp"
        app:r_strokeWidth="3dp" />
  • Customization:
    <me.ertugrul.lib.Forward
        android:id="@+id/forward"
        android:layout_width="100dp"
        android:layout_height="50dp"
        app:f_textSize="15sp"
        app:f_color="#ffffff"
        app:f_strokeWidth="3dp"
        app:f_textInput="10"
        app:f_animationDuration="1000"
        app:f_scalePercent="16"
        app:f_arcRotationAngle="60"
        app:f_sweepAngle="300"
        app:f_arrowSize="10dp" />

   <me.ertugrul.lib.Rewind
        android:id="@+id/forward"
        android:layout_width="100dp"
        android:layout_height="50dp"
        app:r_textSize="15sp"
        app:r_color="#ffffff"
        app:r_strokeWidth="3dp"
        app:r_textInput="10"
        app:r_animationDuration="1000"
        app:r_scalePercent="16"
        app:r_arcRotationAngle="60"
        app:r_sweepAngle="300"
        app:r_arrowSize="10dp" />
  • Get notified when SuperForwardView animation starts or ends by callback:
	forward.onAnimationStart = {
            Log.e("onAnimationStart", "started")
        }
        forward.onAnimationEnd = {
            Log.e("onAnimationEnd", "ended")
        }
	
	rewind.onAnimationStart = {
            Log.e("onAnimationStart", "started")
        }
        rewind.onAnimationEnd = {
            Log.e("onAnimationEnd", "ended")
        }

Or set a listener

	forward.setOnAnimationStartListener(object : OnAnimationStartListener {
            override fun onAnimationStart() {
                Log.e("OnAnimationStartListenr", "started")
            }
        })
        forward.setOnAnimationEndListener(object : OnAnimationEndListener {
            override fun onAnimationEnd() {
                Log.e("OnAnimationEndListenr", "ended")
            }
        })
	
	rewind.setOnAnimationStartListener(object : OnAnimationStartListener {
            override fun onAnimationStart() {
                Log.e("OnAnimationStartListenr", "started")
            }
        })
        rewind.setOnAnimationEndListener(object : OnAnimationEndListener {
            override fun onAnimationEnd() {
                Log.e("OnAnimationEndListenr", "ended")
            }
        })

License

MIT License

Copyright (c) 2021 Ertuğrul Karagöz

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
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].