Comments (3)
@LonelyCpp this is a good workaround, however an onProgress
callback implementation would be very useful.
from react-native-youtube-iframe.
Hey you'll have to use getCurrentTime
with a setTimeout when the player becomes ready.
Here's a sample implementation from an earlier thread - #9 (comment)
Just make sure you start the interval after player is ready, and clear it when the player is unmounted. You can give any ms delay to tune the accuracy.
from react-native-youtube-iframe.
Thanks for your reply @LonelyCpp
That's what I did and it worked!
from react-native-youtube-iframe.
Related Issues (20)
- Webview Process Terminated console warning
- VideoPlayer disappears on Android after closing the fullscreen mode HOT 3
- Previously paused video was playing instead of current video HOT 2
- not working in apple TV HOT 1
- SeekTo function not working for live video while tring to seek To previous duration in iOS
- Fullscreen video turns half black during playback HOT 1
- Cannot scroll ScrollView: iframe intercepts pan HOT 2
- Video not work in android and ios build release HOT 1
- modestbranding flag not working with initialPlayerParams prop HOT 2
- Moving forward + better web support HOT 5
- share button is not disabled when i go fullscreen HOT 2
- Volume prop not affecting volume at all on YoutubePlayer
- Can I play YouTube clip video ? HOT 4
- Automatically unmutes on play and pause HOT 1
- How to disable watch on youtube from the iframe HOT 3
- The Player is not shown when the parent View is aligned to center HOT 1
- SIGSEGV Error on android HOT 1
- React native FlatList last gallery item disappers after Youtube full screen
- Add enablejsapi property HOT 1
- Programmatically paused video shows a black screen instead of the paused video HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from react-native-youtube-iframe.