Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the ability to set options for child components directly on the parent options #1599

Closed
wants to merge 1 commit into from

Commits on Oct 20, 2014

  1. Added the ability to set options for child components directly on the…

    … parent options
    
    For example if you wanted to disable the mute toggle:
    
        videojs(id, { controlBar: { muteToggle: false } });
    
    Whereas before you had to do:
    
        videojs(id, { children: { controlBar: { children: { muteToggle: false } } } });
    heff committed Oct 20, 2014
    Configuration menu
    Copy the full SHA
    ec24928 View commit details
    Browse the repository at this point in the history