Better support for the progressive enhancement approach of making the play button a link before the custom element loads. Currently with that approach, clicking the play button will navigate to YouTube even after the custom element has loaded. This PR removes the link’s href in the connectedCallback to stop that from happening.
Closes #123
Better support for the progressive enhancement approach of making the play button a link before the custom element loads. Currently with that approach, clicking the play button will navigate to YouTube even after the custom element has loaded. This PR removes the link’s
href
in theconnectedCallback
to stop that from happening.