Comments (2)
@OverRide
public void onCompletion(MediaPlayer mp) {
mvideo.seekTo(0);
mvideo.start();
}
this is not working. loop just a time
from exomedia.
Would you elaborate what "this is not working" means. What is it doing vs what are you expecting it to do?
The MediaPlayer provides a method to enable/disable looping, but doesn't provide the ability to loop a specific section (this is what I took "loop just a time" to mean). http://developer.android.com/reference/android/media/MediaPlayer.html#setLooping(boolean)
Additionally, even using the loop method in the MediaPlayer is not gapless, so you will need to take that in to account as well.
from exomedia.
Related Issues (20)
- Facing Crash Issue in Android S+ HOT 1
- Targeting S+ (version 31 and above) requires that one of FLAG_IMMUTABLE or FLAG_MUTABLE HOT 2
- Update to Media3 Libraries
- VideoControlsMobile can't play again HOT 4
- how to download 4.3.0 java version library HOT 5
- how to support avi video HOT 1
- `setVideoRotation` Not Rotating Video HOT 2
- ExoMedia does not support AVI video format HOT 1
- OverideDuration is not working HOT 1
- Player is accessed on the wrong thread HOT 1
- Source error
- AppBar show during controller show in full screen. HOT 2
- ReSize Mood add into Exoplayer HOT 6
- Update TV Video Player Controls
- When will 5.0.0 be released? HOT 3
- Improved VideoControls Error Handling
- Crash when add library ExoPlayer 2.17.0 HOT 5
- ExoMedia demo crashes with v5.0.0 on Android 8.1 and Android 9 virtual devices HOT 1
- jetifier enabled in demo app (migrate constraintlayout) HOT 3
- Many requests to server 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 exomedia.