2013-06-20 124 views

回答

1

你是如何嵌入它?如果只是使用嵌入網址,則可以執行諸如將參數「hl = de」和「persist_hl = 1」添加到url的操作。像這樣:

<iframe id="ytplayer" type="text/html" width="640" height="360" src="https://www.youtube.com/embed/M7lc1UVf-VE?hl=de&persist_hl=1" frameborder="0" allowfullscreen> 

我只加入「HL = DE」的基本YouTube頁面,並檢查一下網址在德國播放YouTube是發現了有關「persist_hl」。我還沒有找到任何有關它的信息以及它的作用。

編輯:

我懷疑我的回答是有效的。 「persist_hl」參數將更改用戶的YouTube網站的Cookie並強制使用新的語言。

編輯2:

看起來你不應該強迫語言反正它應取決於用戶的喜好:https://stackoverflow.com/a/12696747/1372543

傑夫Posnick,誰谷歌工作的答案的。我覺得它適用於你的問題。