youtube as3 api closed captioning error

509 views Asked by At

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

closed caption 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 missing ?

2

There are 2 answers

0
mcgrailm On BEST ANSWER

I was building for flash 9 instead of flash 10

1
TNC On

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.