Comments (17)
The current demo app correctly handles device rotation when playing a video. Your problem sounds like an issues with the dialog fragment. Possibly related to http://stackoverflow.com/questions/14657490/how-to-properly-retain-a-dialogfragment-through-rotation
from exomedia.
Sorry I was not clear enough.I have a portrait activity where I have am trying to open a Dialog fragment where by rotating the EMVideView by 90,i plan to make it look like landscape.Is that possible?
from exomedia.
Not currently (and I don't plan on adding it in the future since it is a very small edge case). You might be able to do something similar to what is described in http://stackoverflow.com/questions/8586526/rotating-an-android-videoview
from exomedia.
Can i get a reference to the VideoView used here?
from exomedia.
Sorry, I'm not sure what you are asking?
from exomedia.
in EMVideoView can i get a reference to the underlying view to rotate it.Or is it not possible with EMVideoView?
from exomedia.
Oh, you would probably need to modify the exoVideoSurfaceView (https://github.com/brianwernick/ExoMedia/blob/master/library/src/main/java/com/devbrackets/android/exomedia/EMVideoView.java#L239). However, this would require modifications to the layouts referenced in initView
which is private. So when I get a little time I will update method availabilities to protected and maybe re-structure a little to help with any custom video layouts like this
from exomedia.
OK thanks,Feel free to close the issue if its out of scope .Thank you 👍 :)
from exomedia.
Also ,I do not want to open an issue for something this trivial hence asking here.But I cannot play webm videos on a Samsung API 17 phone. Is that possible? Or am i doing something wrong. Only audio plays while there is no video.
from exomedia.
Hmm, webm should work :/
I'll see if I can get any webm to play on my devices this weekend (I haven't tested it in a while)
from exomedia.
And if a video does not play,is there a callback that I can receive and choose an alternating format.
Also maybe get a list of the possible formats?
from exomedia.
Sorry; I haven't forgotten about this, I've just been pretty busy with work lately. It looks like it may be closer to the new year when I can get around to any issues :(
from exomedia.
No issues.Thank you for the library :).
Also do let me know if you need any help in maintaining.
from exomedia.
I just tried webm again and it plays without issues on my Nexus devices (and the new emulator) [http://video.webmfiles.org/big-buck-bunny_trailer.webm]
from exomedia.
I'm going to close this as WEBM is currently working (there are updates that will be in 2.5.0 that should fix a few minor playback issues). The method availability changes will be in the next major release (3.0) since I'm making other architectural changes I will wait until then.
from exomedia.
As far as the original Rotation question goes: I have added the ability to manually specify video rotation in the 3.0 branch. See #159
from exomedia.
Thanks a lot!
from exomedia.
Related Issues (20)
- 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
- Authentication: Bearer token HOT 2
- the video window will shake
- [Question] What about using your library for content URI scheme?
- can this project support to a minium version of android 17? HOT 1
- Can open videoplayback file?
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.