Comments (2)
Hello @hawflakes . There are a few ways to detect if the you're at the end of a video, but I think using the AVPlayerItemDidPlayToEndTime
notification might be the most correct one. In my experiment, that notification callback was called at the correct time for multiple videos.
PlayerKit
is unfortunately not subscribing to the notification yet. In case you fork PlayerKit
, did the AVFoundation
's notification solve your problem?
from playerkit.
@hawflakes I will close this issue for now, but if you have any question, please let us know.
from playerkit.
Related Issues (20)
- Swift version bump. HOT 2
- TextTracks are empty
- Example project is not playing the video HOT 2
- Video not playing: https://vimeo.com/30371570 HOT 4
- Play a video HOT 4
- How to show video in fullscreen? which function needs to call?
- Does the SDK support 360 video?
- Can't find documentation on captioning
- Playback speed HOT 1
- Chapter markers
- Distribute PlayerKit as Swift Package
- Full Screen View
- Architecture Question (Follow-Up to #69) HOT 4
- is there a react-native bridge for this package? HOT 1
- Question about AVPlayerItemDidPlayToEndTime HOT 2
- does your lib support rtsp/rtmp? HOT 1
- Vimeo Video Not Playing. HOT 1
- How to play private vimeo video link? HOT 1
- UIWebview is deprecated HOT 4
- Sutitles HOT 3
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 playerkit.