Glitchbone / CordovaYoutubeVideoPlayer

Play Youtube Videos in a native Video Player on Android & iOS
MIT License
83 stars 133 forks source link

Android 6 #22

Open jsjosiah opened 8 years ago

jsjosiah commented 8 years ago

the plugin is not working on android 6. 'Can't play this video.'

ivansifrim commented 8 years ago

I am getting the same thing on android 6 and some phones using 5.1.1 . I am urgently trying to find a solution. Any thoughts?

DeepuV commented 8 years ago

Same here ! 'Can't play the video.' Any solutions?

ivansifrim commented 8 years ago

Use the YouTube iframe api instead of this plugin

On Tuesday, December 15, 2015, Deepu Varghese notifications@github.com wrote:

Same here ! 'Can't play the video.' Any solutions?

— Reply to this email directly or view it on GitHub https://github.com/Glitchbone/CordovaYoutubeVideoPlayer/issues/22#issuecomment-164701639 .

This e-mail message, its contents, and any attachments are privileged and confidential information intended solely for the use of the intended addressee. If you are not the intended addressee, any dissemination, distribution, copying, or other use of this message, its contents, or any attachments is prohibited under applicable law. If you have received this e-mail in error, please notify me immediately by reply e-mail, phone, or fax and delete the message.

azn1viet commented 8 years ago

Me, too. Can't play on Android 6.0.2

mv83 commented 8 years ago

Someone have found a solution?

bkingg commented 8 years ago

Me too

bkingg commented 8 years ago

I get "an error occured during the retrieval of the video this could be due to network" also

MrBrunoWolff commented 8 years ago

hey, is anyone still interested on this?

I think this plugin should be update to use [https://developers.google.com/youtube/android/player/reference/com/google/android/youtube/player/YouTubePlayer]()

I just did that, and it works perfectly fine.

There's only one caveat: the android platform would require a YouTube Data API key to work.

I'll probably fork this and add that. :)

DeepuV commented 8 years ago

hey great to hear that you are working on it. Waiting for your update. Thank you.

ullasmohan commented 8 years ago

@d0cz .. Hey.. Waiting for your update. :-) Thank You...

MrBrunoWolff commented 8 years ago

sorry for the long delay... I did all the work in my work account/repository! Didn't log in my personal account for a month (as you can notice).

https://github.com/d0cz/CordovaYoutubeVideoPlayer

hope it helps.... somehow :)

kingkarki commented 8 years ago

it says

Error: Cannot find plugin.xml for plugin 'package'. Please try adding it again.

when i try to install the plugin.

mubasshir commented 7 years ago

@d0cz how do I add my API key. Sorry I'm just clueless here.

For Android 5.0+ you will need to update the YOUTUBE_API_KEY (package com.bunkerpalace.cordova.Config) with your own YouTube Key.

I don't understand what file to edit? or you want me to change package name, then where?

Kindly guide thanks