【问题标题】:Youtube iFrame API - player.getVideoData() disappear from the youtube iframe apiYoutube iFrame API - player.getVideoData() 从 youtube iframe api 中消失
【发布时间】:2018-04-28 22:49:06
【问题描述】:

player.getVideoData() 似乎从播放器对象中消失了。 在官方 Youtube 文档中找不到该方法: Official Youtube Developers Documentation

但是这个有用的方法被用来获取像标题这样的视频数据,我们可以在这张票中看到,例如: Get YouTube video info from iFrame embed API

它似乎在 2017/11/14 消失了,但我没有看到关于此的发行说明: Official Youtube Developers Documentation

你有一些信息吗?

你知道我们是否有一种新的方法来获取视频的标题(来自 youtube,而不是我们自己的 html)?

谢谢

问候

【问题讨论】:

标签: youtube-iframe-api


【解决方案1】:

自 2017 年 11 月 17 日起,Youtube 解决了这个问题。

但是在文档中仍然没有提到 player.getVideoData() : https://developers.google.com/youtube/iframe_api_reference#Retrieving_video_information

问候

【讨论】:

    猜你喜欢
    • 2013-10-19
    • 2012-08-22
    • 2017-02-10
    • 2017-02-08
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 2014-03-07
    • 2013-04-09
    相关资源
    最近更新 更多