0

How can I remove youtube watermark in youtube player or please suggest me any other player in which youtube watermark can be removed, while playing youtube videos.

player = new YT.Player('playerId',
{
        width: getParameterByName('width'),
        height: getParameterByName('height'),
        html5: 1,
        videoId: getParameterByName('videoid'),
        playerVars: {'enablejsapi':1,'rel':0,'playsinline':1 ,'autoplay': parseInt(getParameterByName('auto')),'showinfo':0, 'controls': parseInt(getParameterByName('ctrl')),'wmode':'transparent', 'modestbranding':1 ,'color':'white','frameborder':0},
        events:
        {
                'onReady': onPlayerReady,
                'onStateChange': onPlayerStateChange,
                'onError':onPlayerError
        }
});

I added the particular key 'modestbranding':1 in my code but nothing is changed, still I am getting the youtube icon at bottom right corner.

Here I am adding a screenshot of my video. enter image description here

Harsha Vardhan
  • 411
  • 1
  • 7
  • 16
  • When you embed the player you can set the modestbranding flag: https://developers.google.com/youtube/player_parameters?hl=en#modestbranding – Francesco de Guytenaere Jan 19 '16 at 11:07
  • 1
    Accidentally flagged for wrong duplicate. Possible duplicate of: http://stackoverflow.com/questions/18893902/how-to-remove-youtube-branding-after-embedding-video-in-web-page – Francesco de Guytenaere Jan 19 '16 at 11:13
  • @Ciccio Thank you for your response, when I added same to my code nothing was changed. I edited my question and added code please check once. – Harsha Vardhan Jan 19 '16 at 12:27
  • This can have several causes, one of them being `Note: Setting the color parameter to white will disable the modestbranding option.` (from the documentation) – Francesco de Guytenaere Jan 19 '16 at 12:31
  • After removing color parameter also nothing is changed... – Harsha Vardhan Jan 19 '16 at 12:38
  • http://stackoverflow.com/questions/12537535/embedded-youtube-video-showinfo-incompatible-with-modestbranding this post seems to give some more pointers, including it being incompatible with `showinfo` (and that modestbranding should be the first flag, but I have no idea of this) – Francesco de Guytenaere Jan 19 '16 at 12:41
  • Thank you for your support but it also dint work, if I made showinfo=1 then icon got hide. But I don't want to see the info too. Please update here if you get any useful stuff regarding. – Harsha Vardhan Jan 19 '16 at 13:06
  • Possible duplicate of [How to remove youtube branding after embedding video in web page?](https://stackoverflow.com/questions/18893902/how-to-remove-youtube-branding-after-embedding-video-in-web-page) – Ryanas Mar 26 '18 at 16:04

0 Answers0