将视频嵌入网页后如何删除youtube品牌? [英] How to remove youtube branding after embedding video in web page?

查看:785
本文介绍了将视频嵌入网页后如何删除youtube品牌?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在使用

 < iframe width =550height =314src =https:// www.youtube.com/embed/vidid?modestbranding=1&amp;rel=0&amp;showinfo=0frameborder =0allowfullscreen>< / iframe> 

这将删除右侧底部的Youtube徽标。
同时也删除了悬停时出现的标题栏。



但是在这个问题中,当我将视频悬停在右侧底部时Youtube tumbnail / Text即将推出,当我删除鼠标时,它就会消失。



当我使用autohide = 1时,控制栏会被隐藏并位于右下角悬停时有一个Youtube图标/图像/徽标。我正在使用

  iframe.setAttribute(src,youtube.com/embed/+ youtube.id +?适度品牌= 1&安培;; showinfo = 0&安培;;自动隐藏= 1&安培;;相对= 0;); 

这个。有了这个功能,我可以从控制栏中删除/隐藏标题栏和徽标,但在右下方有一个其他徽标出现在悬停的屏幕上,我应该使用哪个参数来隐藏它?



解决方案

您可以为您的网址添加?modestbranding = 1 。这将删除标志。


modestbranding(支持的玩家:AS3,HTML5)



此参数可让您使用不显示YouTube徽标的YouTube播放器。将参数值设置为1以防止YouTube徽标显示在控制栏中。请注意,当用户的鼠标悬停在播放器上时,小型YouTube文本标签仍会显示在已暂停视频的右上角。


& showinfo = 0 将删除标题栏。


showinfo (支持的播放器:AS3,AS2,HTML5)

值:0或1.参数的默认值为1.如果将参数值设置为0,则播放器在视频开始播放之前,不会显示视频标题和上传器之类的信息。


您可以在 Google Developers 网站。\



注意: h2>

它没有完全删除徽标。在左下角还有一个小徽标。


I am using

<iframe width="550" height="314" src="https://www.youtube.com/embed/vidid?modestbranding=1&amp;rel=0&amp;showinfo=0" frameborder="0" allowfullscreen></iframe>

This removes right side bottom "Youtube" Logo. And also removes "Title bar" which appears on hover.

But in this problem is, When I hover on video then behind the right side bottom "Youtube" tumbnail / Text is coming and when I remove mouse then it disappears.

When I use "autohide=1" then control bar gets hidden and in the right-bottom corner there is one icon/image/logo of "Youtube" display on hover. I am using

iframe.setAttribute("src", "youtube.com/embed/" + youtube.id + "?modestbranding=1&;showinfo=0&;autohide=1&;rel=0;"); 

this. With this I am able to remove/hide Title bar and logo from the control bar but on right-bottom there is one other logo comes on screen on hover , which parameter should I use to hide that?

解决方案

You can add ?modestbranding=1 to your url. That will remove the logo.

modestbranding (supported players: AS3, HTML5)

This parameter lets you use a YouTube player that does not show a YouTube logo. Set the parameter value to 1 to prevent the YouTube logo from displaying in the control bar. Note that a small YouTube text label will still display in the upper-right corner of a paused video when the user's mouse pointer hovers over the player.

&showinfo=0 will remove the title bar.

showinfo (supported players: AS3, AS2, HTML5)

Values: 0 or 1. The parameter's default value is 1. If you set the parameter value to 0, then the player will not display information like the video title and uploader before the video starts playing.

You can find all options on the Google Developers website.\

Note:

It doesn't fully remove the logo. There is still a small logo on the bottom left.

这篇关于将视频嵌入网页后如何删除youtube品牌?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆