To play video on layout background (textureview videoview for layout designs)
Now video size taken from mediplayer this may not be stable version please use 1.6 or lower
New feature adjustViewBounds :rocket:
when you use adjustViewBounds = true please set scaleType = centerInside
new gravity added -> CenterInside :rocket: gravity name none changed as in attr (none -> fitXY) :trollface:
Bug fix
new gravity added -> CenterInside :rocket: gravity name none changed as in attr (none -> fitXY) :trollface:
Now you can implement videolayout with
vL?.setPathOrUrl(/* "video_name.mp3" - "https://video_url" */)
also runtimexception problems solved. 🚀
SOUND = a.getBoolean(R.styleable.VideoLayout_sound, false);
added
Developers will have a performance-friendly video background with a few lines of code.