Enjoy this library from B4A https://github.com/PierfrancescoSoffritti/AndroidYouTubePlayer YouTube player based on WebView, because the one provided by Google is soo bad :| (Original library words :D ) Notes: @DependsOn(values={"android-support-v4"}) Uses appcompat library YouTubePlayerView...
www.b4x.com
Eror:
--------- beginning of main
Copying updated assets files (1)
*** Service (starter) Create ***
** Service (starter) Start **
** Activity (main) Create (first time) **
** Activity (main) Resume **
Youtube view is ready
java.lang.NoClassDefFoundError: Failed resolution of: Landroid/support/v4/content/ContextCompat;
at com.pierfrancescosoffritti.youtubeplayer.PlayerControlsWrapper.onStateChange(PlayerControlsWrapper.java:243)
at com.pierfrancescosoffritti.youtubeplayer.YouTubePlayerBridge$1.run(YouTubePlayerBridge.java:35)
at android.os.Handler.handleCallback(Handler.java:958)
at android.os.Handler.dispatchMessage(Handler.java:99)
at android.os.Looper.loopOnce(Looper.java:230)
at android.os.Looper.loop(Looper.java:319)
at android.app.ActivityThread.main(ActivityThread.java:8919)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1103)
Caused by: java.lang.ClassNotFoundException: android.support.v4.content.ContextCompat
... 10 more
Or if someone has already used this library, could you tell me what may be missing.
This is a simple to use, cross platform library, that does many complex things under the hood. The developer calls SetMedia with a placeholder panel and a url. The panel will show an image, video or animated gif (more formats will be added). 'Show a remote image / video / animated gif in...
Searching in the forums I found this thread of @MarcoRome and tried to get an Exoplayer to play a direct video link. It did not work and I asked him why. After what he told me I read the post where he mentions the following...
Hello everyone, i've been searching for a couple of days and have not found a reliable way to play a youtube video the way I need to. I have a video that I will be showing in my app, it's a tutorial video, I need the video to automatically start playing as soon as it loads and it needs to play...