且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

***嵌入showinfo已被弃用

更新时间:2023-12-05 10:28:16

直接来自显示信息


注意:这是一个showinfo参数的弃用声明。此外,rel参数的行为正在更改。标题,频道信息和相关视频是***核心用户体验的重要组成部分,这些更改有助于使***在不同平台上的观看体验保持一致


rel参数的行为在2018年9月25日当天或之后发生更改。更改的结果是您将无法禁用相关视频。但是,您可以选择指定播放器中显示的相关视频应与刚刚播放的视频来自同一频道。


它明确指出,这是他们认为是cor ***体验的一部分。没有建议您要发送以存档旧结果的解决方法或新参数。他们正在删除它。如果您尝试使用javascript和css强制退出,我几乎会建议您反对TOC,TOC指出您不允许更改该显示。人们应该知道您正在显示来自***的内容


We are using a *** video on our website as a hero banner.

However few days ago it started showing it's title, watch later button and a share button. We were able to hide them using &showinfo=0 at the end if the URL.

I found out that showinfo has been deprecated and thus you can no longer hide the fact that it is a *** video showing there.

Is there any other parameter that might be able to do the same thing?

You cannot do it with CSS or JavaScript as it is an iframe.

Any ideas are much appreciated.

UPDATE:

Any layer or mask over the video doesn't help, as the info shows when the video is loading, or if you click outside the browser, the video will pause and the info shows.

Hiding the top ~60px works, but it is not a good solution for me.

Directly from show info

Note: This is a deprecation announcement for the showinfo parameter. In addition, the behavior for the rel parameter is changing. Titles, channel information, and related videos are an important part of ***’s core user experience, and these changes help to make the *** viewing experience consistent across different platforms.

The behavior for the rel parameter is changing on or after September 25, 2018. The effect of the change is that you will not be able to disable related videos. However, you will have the option of specifying that the related videos shown in the player should be from the same channel as the video that was just played.

It clearly states that this is something they consider to be part of the cor *** experience. There is no suggestion of a workaround or a new parameter that you could send to archive the old results. They are removing it. If you tried to force it out using javascript and css i would almost suggest you are against the TOC which states your not allowed to change that display. People should know you are showing something from ***