Android-youtube-player: Cannot play some videos.

Created on 11 Sep 2018  路  22Comments  路  Source: PierfrancescoSoffritti/android-youtube-player

I cannot play some videos. The video id is "XWo627F7CeU".
Error code is 3. But I cant play in Youtube.
I want to your help.

question

Most helpful comment

I'm also having this error. It happens only in some devices, and I wasn't able to reproduce it in my phone.
There is nothing wrong with the video, it's working fine embedded in my website.

Calling 'cueVideo' as suggested didn't help me.

Looking forward for a solution.

All 22 comments

Hi, error code 3 doesn't exist. List of error codes.

I'm sorry. The correct error code is VIDEO_NOT_PLAYABLE_IN_EMBEDDED_PLAYER.
The error message is follow as "This video contains content from Aves Inc., who has blocked it from display on this website or application. Watch on Youtube";

I think the message is quite self explanatory. You can't play that video with an embedded player.

I don't understand your advice.
Please give me detailed explanation.

You can't play that video outside of the YouTube website.

I also encountered this error(VIDEO_NOT_PLAYABLE_IN_EMBEDDED_PLAYER).
I tried to play it in the official sdk player and Chrome, It's all correct.
The video id is nICSRQxKSmU.

I also encountered this error(VIDEO_NOT_PLAYABLE_IN_EMBEDDED_PLAYER).
I tried to play it in the official sdk player and Chrome, It's all correct.
The video id is nICSRQxKSmU.

Finally, I solved my problem by calling 'cueVideo' instead of 'loadVideo'.

I'm also having the same issue. It works in debug APK but not in release. It shows VIDEO_NOT_PLAYABLE_IN_EMBEDDED_PLAYER error. Any solution?
Thanks...

I'm also having this error. It happens only in some devices, and I wasn't able to reproduce it in my phone.
There is nothing wrong with the video, it's working fine embedded in my website.

Calling 'cueVideo' as suggested didn't help me.

Looking forward for a solution.

I found a temporary solution for VIDEO_NOT_PLAYABLE_IN_EMBEDDED_PLAYER. If I use a VPN, the error doesn't show.

Any update I'm facing the same issue.

As said before, some videos are just not playable on an embedded player or in some countries. Each video may have different restrictions.

@PierfrancescoSoffritti I don't think this is the case. The video is working fine for 95% of my users and my app is only available in one country.

Sorry but I have even less context than you have, can't really say much. But I think it's a restriction from YouTube's side and not a problem with the player.

Does anyone have any idea of why this problem is happening?

Is it some kind of Youtube restriction that I'm not seeing?
My video allows embedding and I didn't set any kind of restriction to it.

It seems to be working now. It just got fixed autommatically? :/

@p32929 still not working for me. Can you elaborate how is it working for you?

@joseAugustoCR I really don't know. It wasn't working for some days but suddenly its working now

The error is not related to the library!

When I receive the VIDEO_NOT_PLAYABLE_IN_EMBEDDED_PLAYER error in the app I'm opening the external browser with a webpage that tries to play the same video (using videojs or plyr.io). On the webpage, I am receiving the following error: " Playback on other Websites has been disabled by the video owner."

The video is public, has no restrictions and the embedding is allowed. How can the same video be playable for one user and not playable for another if both are using the same app in the same place? It seems like a Youtube bug!

@joseAugustoCR I really don't know. It wasn't working for some days but suddenly its working now

also me

VIDEO_NOT_PLAYABLE_IN_EMBEDDED_PLAYER and VIDEO_NOT_PLAYABLE_IN_EMBEDDED_PLAYER

Any update I'm facing the same issue.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

heeyounglee picture heeyounglee  路  3Comments

uzaysan picture uzaysan  路  7Comments

cnbcyln picture cnbcyln  路  8Comments

hetsgandhi picture hetsgandhi  路  3Comments

DorenBoust picture DorenBoust  路  6Comments