Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to play VEVO Content using YouTube iframe API?

I need to play VEVO videos on an HTML5 player which is created using YouTube's API in iOS.

https://developers.google.com/youtube/iframe_api_reference

Currently I'm able to play normal videos with out a glitch.But when ever i try to play a VEVO video,It says "The content cant be played outside of YouTube".Is there any legal way of going about this?.

I have already tried to set the "origin" property of the player to my domain.This did not help.

This is an Example from the above link where the origin is set

<iframe id="player" type="text/html" width="640" height="390"
src="http://www.youtube.com/embed/M7lc1UVf-VE?enablejsapi=1&origin=http://example.com"
frameborder="0"></iframe>

If anyone knows of any other way to legally play VEVO content please let me know. :).Any legal loopholes will also do :D.

like image 610
Justin Champappilly Avatar asked Nov 12 '22 05:11

Justin Champappilly


1 Answers

I have played some vevo videos just by placing the ID.

Sometimes vevo videos have certain restractions for embedding like for example, the country from the user is fetching the video.

like image 195
capsula Avatar answered Jan 04 '23 02:01

capsula