title: Trying to reintegrate the plyr controls with the speed setting into my video using the plyr.js library with custom html
body: <p>I'd like to be able to <strong>append a custom item</strong> to the controls in a <strong>plyr.js</strong> video but this removes the settings item with speed settings.</p>
  
  <p>As the title says, I need to be able to reintegrate the settings controls with the speed setting into my video. I'm trying to do it with with custom HTML but I'm getting <strong>no response</strong> when the settings icon is clicked.</p>
  
  <p>On the default/working version of the player controls, the attribute of <strong>hidden=""</strong> seems to be removed/added to the plyr__controls__item, plyr-settings-{id}-home, plyr-settings-{id}-captions, etc. to show/hide it but doesn't do it with the settings menu added manually.</p>
  
  <p>Specifically none of the javascript related functionality of the settings menu seems to be working. The hiding and showing of menus and the speed control buttons when showing them manually in the browser.</p>
  
  <p>I'm providing the HTML code for the just the settings section because I believe I might be missing something there.</p>
  
  <pre><code>     &lt;div class="plyr__controls__item plyr__menu"&gt;
  
        &lt;button aria-haspopup="true" aria-controls="plyr-settings-{id}" aria-expanded="false" type="button" class="plyr__control plyr__tab-focus" data-plyr="settings"&gt;
          &lt;svg role="presentation" focusable="false"&gt;
            &lt;use xlink:href="#plyr-settings"&gt;&lt;/use&gt;
          &lt;/svg&gt;
          &lt;span class="plyr__sr-only"&gt;Settings&lt;/span&gt;
        &lt;/button&gt;
        &lt;div class="plyr__menu__container" id="plyr-settings-{id}"&gt;
          &lt;div&gt;
  
            &lt;div id="plyr-settings-{id}-home"&gt;
              &lt;div role="menu"&gt;
                &lt;button data-plyr="settings" type="button" class="plyr__control plyr__control--forward" role="menuitem" aria-haspopup="true"&gt;
                  &lt;span&gt;Captions
                    &lt;span class="plyr__menu__value"&gt;&lt;/span&gt;
                  &lt;/span&gt;
                &lt;/button&gt;
                &lt;button data-plyr="settings" type="button" class="plyr__control plyr__control--forward" role="menuitem" aria-haspopup="true"&gt;
                  &lt;span&gt;Speed
                    &lt;span class="plyr__menu__value"&gt;&lt;/span&gt;
                  &lt;/span&gt;
                &lt;/button&gt;
              &lt;/div&gt;
            &lt;/div&gt;
  
  
            &lt;div id="plyr-settings-{id}-captions"&gt;
             &lt;button type="button" class="plyr__control plyr__control--back"&gt;
               &lt;span aria-hidden="true"&gt;Captions&lt;/span&gt;
               &lt;span class="plyr__sr-only"&gt;Go back to previous menu&lt;/span&gt;
             &lt;/button&gt;
             &lt;div role="menu"&gt;
  
               &lt;button data-plyr="language" type="button" role="menuitemradio" class="plyr__control" aria-checked="true" value="0"&gt;
                 &lt;span&gt;English
                   &lt;span class="plyr__menu__value"&gt;
                     &lt;span class="plyr__badge"&gt;&lt;/span&gt;
                   &lt;/span&gt;
                 &lt;/span&gt;
               &lt;/button&gt;
             &lt;/div&gt;
           &lt;/div&gt;
  
  
          &lt;/div&gt;
        &lt;/div&gt;
      &lt;/div&gt;
  
  </code></pre>