Comments (5)
@AndroidDeveloperLB I'm sorry to hear that you are having issues using no-player
to create a live wallpaper. So that we can help you as soon as possible can you please follow the issue template
associated with this repo. If you can provide any links code where you use no-player
for the wallpaper that would be especially helpful.
from no-player.
I don't use it yet. Before I use it, I want to know how to do it in a live wallpaper app.
If you want, here's the project (before using this library, as I wrote) :
https://github.com/AndroidDeveloperLB/MovieLiveWallpaper
from no-player.
Hi @AndroidDeveloperLB in order to use no-player
you need to attach a NoPlayerView
and then load the video you desire. We do not actively support doing this with a live wallpaper, it's somewhat of an edge case.
I'm unsure how you would do this using no-player
without spending more time looking at the WallpaperService
documentation. My guess is you would need to create a NoPlayerView
that takes the SurfaceHolder
created by the Wallpaper
and then attaches the NoPlayerView
to no-player
and plays the video.
from no-player.
Well that's the problem with live wallpaper. It doesn't have a view.
Anyway, thanks.
Hopefully this clue will suffice.
from no-player.
Hi @AndroidDeveloperLB Your issue with Live Wallpaper interested me enough that I took some more time to take a look this evening. I tried implementing it with no-player
with no luck. You really need to inflate a view and use that view to make it work. You can, but it might be a lot of work, to perform the measure and layout yourself of whatever view you want to use. This could be no-player
for example.
Romain Guy, one of the devs who worked on the Live Wallpaper says in this
https://stackoverflow.com/a/5001076/3687239
that it isn't supported because it wasn't the intention but you can measure and layout your own view.
I wish you luck! I'll be closing this issue.
from no-player.
Related Issues (20)
- Add api to change volume/mute
- Add api to set repeating playback
- Allow the Player to be detached when unprepared HOT 1
- NoPlayerView shutter view not shown on video completion
- utils package should move to internal
- Technical Data Questionnaire Wiki Page HOT 1
- Add support for TextureView HOT 5
- Update CI release job once `master` in sync with `develop` HOT 2
- Support for cache
- HeartBeat callback should be consistent and avoid leaking the NoPlayer functionality
- NoPlayerLog NPE
- Align portrait video to center-horizontal HOT 2
- Cross protocol redirects HOT 1
- support audio playback HOT 1
- media player redirect never prepared
- Documentation
- Test NoPlayerAdsLoader
- Annotate interfaces for better Kotlin interoperability
- How can i change RepeatMode??
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 no-player.