Giter Site home page Giter Site logo

Comments (6)

nadamai avatar nadamai commented on September 24, 2024 2

I've found temporary solution. Its disadvantage is that the video does not open on fullscreen.

About the fix: YouTube API method createPlayVideoIntentWithOptions in src\com\bunkerpalace\cordova\YoutubeVideoPlayer.java seems to cause the problem. Setting 3rd argument to false (it turns off fullscreen) and going fullscreen manually may help to understand where the problem lays.

I've commented out YouTubeIntents.canResolvePlayVideoIntentWithOptions condition in createYoutubeIntent method and left the content from else clause, where the intent is created without YouTube API and it seems to work fine.

from cordovayoutubevideoplayer.

santoshbadal1111 avatar santoshbadal1111 commented on September 24, 2024 2

On Android devices when we play youtube video for the first time it works perfectly but once we close video either by back button press or auto closes on video finish. now if we try to open the video on the same page then youtube video player is coming with black screen. It would be great if someone have already fixed it. Please help.

from cordovayoutubevideoplayer.

piotrmocek avatar piotrmocek commented on September 24, 2024

I'm trying to resolve same problem. Any thoughts on that?

from cordovayoutubevideoplayer.

nadamai avatar nadamai commented on September 24, 2024

I have got exactly same problem. Updating WebView/Chrome according to this article:
https://www.xda-developers.com/google-confirms-webview-issue-crashing-android-apps/

does not work. Any help would be highly appreciated.

from cordovayoutubevideoplayer.

Riabov54 avatar Riabov54 commented on September 24, 2024

The problem is full screen mode and hiding the user interface. If you click on the fullscreen icon while watching a video, the user interface appears and the next video goes without problems. I have tried the cordova-plugin-fullscreen plugin. This does not solve the problem. The video needs to be shown, but the user interface is present on the screen.

from cordovayoutubevideoplayer.

jamesdss avatar jamesdss commented on September 24, 2024

same issue here.. please help!

from cordovayoutubevideoplayer.

Related Issues (16)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.