Comments (6)
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.
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.
I'm trying to resolve same problem. Any thoughts on that?
from cordovayoutubevideoplayer.
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.
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.
same issue here.. please help!
from cordovayoutubevideoplayer.
Related Issues (16)
- Build Fails HOT 2
- How to disable controls? HOT 4
- Audio playing through ear speaker only
- In IOS Youtube video player is not closing automatically after video is complete.
- Analysis about Youtube Quotas HOT 1
- Android Portrait mode not supported HOT 1
- Where to place Android YouTubeDataApiKey in Capacitor project HOT 2
- Black screen when playing Youtube video second time. HOT 4
- in iOS, Page close suddenly when trying to open Youtube HOT 4
- android 13 does not open youtube player in android
- Getting 400 error response on youtube HOT 4
- iPhone app crash when video is deleted from YouTube HOT 2
- Event Close Youtube when youtube is running HOT 4
- IOS build Fail HOT 9
- Video stuttering and pausing while loading. HOT 1
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 cordovayoutubevideoplayer.