Ok, so I want to embed youtube videos but also remove the annoying annotations. The following code works great from to embed the video
[embed width="599" height="360"]youtube.com/watch?v=mNf0v2WkV0U [/embed]
But whatever I seem to do, I cannot add the following parameter:
iv_load_policy=3
Im not sure if its even possible to to add this within the wordpress embed code? I then found something intresting:
$('object').each(function(){
var $param = $(this).children(':first-child');
var newUrl = $param.attr('value') + '&iv_load_policy=3';
$param.attr('value', newUrl);
});
The above code is meant to set all youtube videos globally (iv_load_policy=3
) but i think Im doing it wrong.
Thanks in advance.