Search code examples
iframeionic-frameworkyoutubeionic2youtube-iframe-api

How to resolve restricted content for youtube embed video for ionic-2 framework?


I am creating an application in ionic-2 framework base but I am facing issue in playing youtube videos with the youtube iframe api.

I am trying with different videos and creating a build in ionic. I have ran the application in android and iPhone but still the video is showing an error like this:

This video contains content from UMG,SEM & VEVO. It is restricted from playback on certain sites or applications. Watch on youtube

An example video url is "https://www.youtube.com/watch?v=FM7MFYoylVs"

What can I do for this type of error?

Here is a screenshot of the error:

I am attaching a screenshot of this error.


Solution

  • Yesterday I sent an email to the YouTube help center and they have replied with the following message and it's clearly telling that the content is copyrighted:

    That message is telling you that the video contains copyrighted content, used without permission of the copyright owners. Those entities (Universal Music Group, Sony Music Entertainment, and VEVO) have exercised their right of ownership to control where their property is being used, and they have blocked it from playback on mobile devices and apps. The only way around this error is to find videos that do not use unauthorized (read that as illegal) content.

    Link to the question on YouTube