Skip to content

Question: youtube player config limitation for disabling closed captions. #2028

Description

@sreamerAM

In typescript, cc_load_policy can only be set to 1, but I believe 3 is also a valid option. Is there a reason for it not being cc_load_policy?: 1 | 3;
Config.youtube?: { cc_lang_pref?: string; cc_load_policy?: 1; color?: "red" | "white"; disablekb?: 0 | 1; enablejsapi?: 0 | 1; end?: number; fs?: 0 | 1; hl?: string; iv_load_policy?: 1 | 3; origin?: string; playlist?: string; rel?: 0 | 1; start?: number; widget_referrer?: string; referrerpolicy?: string;

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions