From 5978810b7f11539fc1b891e3029aa65e10f0d7ef Mon Sep 17 00:00:00 2001 From: Sam Potts Date: Thu, 21 Jan 2016 09:48:46 +1100 Subject: [PATCH] Update controls.md --- controls.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) 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, +}); ```