# Controls HTML This is the markup that is rendered for controls. It is a seperate option to allow full customisation of markup based on your needs. The default Plyr setup uses a Hogan template, this is to allow for localisation at a later date. If you check `controls.html` in `/src/templates` to get an idea of how the default html works. ## Requirements The classes and data attributes used in your template should match the `selectors` option. You need to add two placeholders to your html template: - {id} for the dynamically generated ID for the player (for form controls) - {aria-label} for the dynamically generated play button label for screen readers - {seek-time} for the seek time specified in options for fast forward and rewind Currently all buttons and inputs need to be present for Plyr to work but later we'll make it more dynamic so if you omit a button or input, it'll still work. ## Vanilla HTML template You can of course, just specify vanilla HTML. Here's an example snippet: ```javascript var controls = [ '
', '
', '', '0% played', '', '', '0% buffered', '', '
', '', '', '', '', '', '', '', 'Time', '00:00', '', '', '', '', '', '', '', '', '', '', '', '
' ].join("\n"); ```