diff --git a/controls.md b/controls.md index 87671477..0a51f3f1 100644 --- a/controls.md +++ b/controls.md @@ -46,7 +46,7 @@ You can include only the controls you need when specifying custom html. This is an example `html` option with all controls. ```javascript -["
", +var controls = ["
", "
", "", "", @@ -107,4 +107,9 @@ This is an example `html` option with all controls. "", "", "
"].join("\n"); + +// Setup the player +plyr.setup('.js-player', { + html: controls, +}); ```