youtube - snippet.defaultLanguage使用哪种字符串?

标签 youtube google-api google-api-nodejs-client

当我将视频上传到YouTube channel 时,我希望能够指定defaultLanguage。但是,docs似乎没有指定我应该放入哪种字符串。

string This property is confidential to trusted testers.

The language of the text in the video resource's snippet.title and snippet.description properties.



snippet.defaultLanguage使用哪种字符串?
resource: {
  snippet: {
    defaultLanguage: "English" //<-- correct ?
  }
}

最佳答案

"en"是用于设置默认语言的正确字符串。

关于youtube - snippet.defaultLanguage使用哪种字符串?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34002758/

相关文章:

php - 使用youtube API获取有关youtube channel 的受众特征信息

java - 为多个 Activity 创建 GoogleApiClient

node.js - Node Js : how to disable google account chooser and pass only one mail id

node.js - Google Page Speed Insights - 基本身份验证

node.js - drive.changes.watch 不发送通知

html - youtube 视频完整部分

html - 如何在匹配组之间使用正则表达式从 html youtube 页面获取文本

javascript - 谷歌APIgapi.client.request不工作

ios - 使用 Youtube API v3 时出现 "accessNotConfigured"错误

vb.net - 按关键字搜索vb youtube api v3