jackdinealkim / youtube-android-player-helper Goto Github PK
View Code? Open in Web Editor NEWHelper library for Android developers looking to add YouTube video playback in their applications via the iframe player in WebView
Helper library for Android developers looking to add YouTube video playback in their applications via the iframe player in WebView
I want to seek video to a specific millisecond but seekToMillis() function is not working. When I called this function , state of YoutubeView changes to ENDED.
Hi, thanks for the library.
I'm using the .setAutoPlayerHeight
to wrap the content, it worked once the activity started. But when the activity changed orientation, the height doesn't change dynamically and i guess it retained the first measured height. Is there any workaround for this?
And also, .setWhiteBackgroundColor
doesn't seem to work on me.
On devices below Android 5, Lollipop video doesn't start automatically.
I have used .play() method i onReady() method.
And I'm getting following error:
A WebView method was called on a thread 'JavaBridge'. All WebView methods must be called on the same thread
which could easily solved by method runOnUiThread method.
YTParams params = new YTParams(); params.setControls(1); params.setAutoplay(1); params.setVolume(100);
its my code . How can I do to let it auto play the video ?
Hi, is there any way to show a full screen option in the player?
Thanks you very much.
Hello,
If I pass Playlist link, it is not working and not playing video.
It gives error number "2".
Now when first time load video and after OnReady, youtubePlayerView.play(); not working, please solve this if possible.
Thank You.
How to disable auto change video quality?
I only want to play video at smallest quality.
I cannot play videos in Android version 4.4.2, progressbar keeps moving....
I have a custom controller , how to mute the video with it?
E/Web Console: Unable to post message to https://www.youtube.com. Recipient has origin http://www.youtube.com.
at null:0
Viewport argument value "device-width;" for key "width" not recognized. Content ignored. at http://www.youtube.com/:17
hey! thanks a lot to such an amazing work. Can you please tell is there a way or method to disable or hide controls like watch later etc.? Thank you.
Your response would be highly appreciated.
Is there any reason not to include 'fs' param to allow fullscreen video? It seems like the default is showing fullscreen but I don't see it in video iframe.
Impossible to publish new app because it violates their device and network abuse policy and section 4.4 of their Developer Distribution Agreement.
Now, you can't pllay youtube video in background without using Youtube API
Any solution ?
How to handle (or catch) action when user click on Youtube icon under bottom of view and system open Youtube app. Please help me.
Hey, thanks for the library.
I'm facing this issue when I try to start the activity.
android.content.ActivityNotFoundException: Unable to find explicit activity class {com.application.example/com.jaedongchicken.ytplayer.YoutubePlayerView}; have you declared this activity in your AndroidManifest.xml?
Do you know how can I fix this issue?
Hi,
Testing in Android 4.1.2 seems not working, only the audio is loaded but the image don't. Is there a minimum Android version to work?
Thanks for your work
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.