Removing addRandom and arrays from the multiplayer code

I don’t understand, what is supposed to be placed in here.

    managePlayer.init({
    });

Everything that is in here?

    const defaultOptions = {
        playerVars: {
            autoplay: 0,
            controls: 1,
            disablekb: 1,
            enablejsapi: 1,
            fs: 0,
            iv_load_policy: 3
        }
    };

I just copy it into here?

    managePlayer.init({
    });

So it looks like this?

managePlayer.init({
        playerVars: {
            autoplay: 0,
            controls: 1,
            disablekb: 1,
            enablejsapi: 1,
            fs: 0,
            iv_load_policy: 3
        }
    });

Which will then cause there to be duplication.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.