开发者

youtube as3 api closed captioning error

I am importing youtube video into my flash project but when I click the CC button I get an error image like this one

youtube as3 api closed captioning error

I have not seen anything in the AS3 youtube api for any special parameters needed to use closed captioning. Also if I copy and paste the url it calls it works fine in a web browser.

any idea what I might be missin开发者_如何学运维g ?


This might help you: http://code.google.com/apis/youtube/player_parameters.html#cc_load_policy

cc_load_policy
Values: 1. Default is based on user preference. Setting to 1 will cause closed captions to be shown by default, even if the user has turned captions off.


I was building for flash 9 instead of flash 10

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜