笔记!它不适用于 iPad 等 iOS 设备
https://developers.google.com/youtube/iframe_api_reference#loadVideoById
loadVideoById 的对象语法似乎不起作用,我收到视频不可用的错误。有什么想法或想法吗?
参数语法
player.loadVideoById(videoId:String, startSeconds:Number, suggestedQuality:String):Void
对象语法
player.loadVideoById({videoId:String, startSeconds:Number, endSeconds:Number, suggestedQuality:String}):Void
请参阅此处的示例链接; http://dl.dropbox.com/u/13780885/loadvideobyid/index.html