Youtube嵌入视频视图不计算在内 [英] Youtube embedded video views do not count

查看:112
本文介绍了Youtube嵌入视频视图不计算在内的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果没有自动播放功能,许多资源都会声明嵌入式YouTube视频的观看次数 DO 但它实际上并不计算,并且没有自动播放!代码是:

 < ; iframe width =420height =315
src =// www.youtube.com/embed/bPnFnHSSO3E?rel=0
frameborder =0allowfullscreen>
< / iframe>

使用此代码的视频视图不计算,即使我播放整个嵌入视频直到结束!如果直接在YouTube上观看,则观看次数增加,因此不是300次观看问题。 我尝试添加 enablejsapi 选项,但它不起作用。

 < iframe width =420height =315
src =// www.youtube.com/embed/bPnFnHSSO3E?rel=0&enablejsapi=1
frameborder =0allowfullscreen>
< / iframe>

rel = 0 选项不会影响

我发现了一些提到这个问题的资源,但没有明确的解决方案:



我在Chrome 34.0.1847.131 m(当前版本)中以这样一种方式测试它,视频在YouTube上打开,重新加载,并且查看次数更高。然后我将嵌入式视频加载到另一个选项卡中,几次运行它们(有时甚至试图使用私人窗口和使用两个不同代理的不同IP),然后我在YouTube上重新加载窗口 - 视图计数仍然只有+您的视频拥有301个视图,其安全系统是一个安全系统对于这些观点,请看:



当视频到达301个视图时,计数器停止(仍然依靠背景),但YouTube会检查视图的真实性,这需要请记住,youtube同时在许多服务器上工作,因此他们需要收集所有视图元数据并制作它(因为很多人使用机器人获取大量视图)。



经过批准后,查看次数恢复正常。



希望它有帮助



PD:对不起英文不好。


Many resources claim that views of embedded youtube video DO count, if it there is no autoplay. But it doesn't count actually, and there is no autoplay! The code is:

<iframe width="420" height="315" 
        src="//www.youtube.com/embed/bPnFnHSSO3E?rel=0" 
        frameborder="0" allowfullscreen>
</iframe>

The views of the video using this code DO NOT COUNT even if I play the whole embedded video till the end! The views are incremented if watched directly on youtube, so it is not the "300 views problem".

I have tried to add the enablejsapi option, but it doesn't work as well.

<iframe width="420" height="315" 
        src="//www.youtube.com/embed/bPnFnHSSO3E?rel=0&enablejsapi=1" 
        frameborder="0" allowfullscreen>
</iframe>

The rel=0 option is not affecting that either.

I have found several resources mentioning the issue but without clear solution:

I was testing this in Chrome 34.0.1847.131 m (current version) in such a way that I had the video open on youtube, reloaded it, and the view count was one higher. Then I loaded the embedded videos in another tab, ran them till the end several times (sometimes I even tried to use private window and different IPs using two different proxies), and I reloaded the window on youtube - the view count was still only +1 higher, not +3 or +4 higher as it should be.

解决方案

Your video have 301 views, its a security system for the views, look:

When a video reach 301 views, the counter stop (is still counting on background) but youtube checks for the authenticity of the views, this takes a couple of days, remember, youtube works on a lot of servers at the same time, so they need to gather all the views metadata and aprove it (because a lot of people use robots to get a lot of views).

After aproval the view count goes back to normal.

Hope it helps

PD: sorry for the bad english.

这篇关于Youtube嵌入视频视图不计算在内的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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