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.