Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Remove Youtube Annotation Using iv_load_policy=3

Tags:

youtube-api

I am appending iv_load_policy=3 to the end of my YouTube URL to remove the annotations on the video, but I find it is not working. Looking on Google, it seems like this issue was addressed a year ago. I am wondering if anyone knows if this bug is back or if there is a work around?

I have tested on Chrome, FF, Safari, and IE9 on Win7.

http://www.youtube.com/watch?v=87kezJTpyMI&hd=1&iv_load_policy=3 https://developers.google.com/youtube/player_parameters#iv_load_policy

like image 573
Jon Avatar asked Mar 26 '13 17:03

Jon


3 Answers

You can only use the iv_load_policy when embedding videos using one of the player apis - you can't just change the youtube watch page url.

For example, if you wanted to embed the video you linked above without annotations, you could use this link: http://www.youtube.com/embed/87kezJTpyMI?hd=1&iv_load_policy=3

like image 79
Matt Koskela Avatar answered Oct 28 '22 03:10

Matt Koskela


Cheers. Wanted to remove the annotations as well from the embedded Youtube video's. Just added &iv_load_policy=3 to the end of the videos URL. Works like a charms :D

like image 36
Menno van der Krift Avatar answered Oct 28 '22 02:10

Menno van der Krift


Use this in an extension

$("div.video-annotations").css("display", "none");

Or this in Stylebot extension

div.video-annotations {display:none;}
like image 1
MozzieMD Avatar answered Oct 28 '22 03:10

MozzieMD