plyr icon indicating copy to clipboard operation
plyr copied to clipboard

toggle playback

Open d4lv opened this issue 2 years ago • 2 comments

the "space" toggle playback stop working in the last version but only on browser like chrome-brave-opera etc. on firefox is ok is any fix for that??

(when i play it on my site the page is go down and in the demo https://plyr.io/ is just dont do nothing but the K is ok)

d4lv avatar May 20 '22 10:05 d4lv

@sampotts please add space keyboard shortcut for pause / resume video playing

fugbixer avatar Jul 29 '22 18:07 fugbixer

@sampotts any update??

RaSan147 avatar Sep 09 '22 12:09 RaSan147

Just use version 3.7.0 for now. Tried to fork and re build with older ones, but required packages weren't installing

WebLeach avatar Sep 23 '22 21:09 WebLeach

@sampotts still this is not fixed on new version..

d4lv avatar Dec 28 '22 23:12 d4lv

@sampotts still this is not fixed on new version.. I am using this as a work around till its fixed.

    (document.querySelector(".video__container") as HTMLDivElement).addEventListener("keydown", (e) => {
        if (e.key === " ") {
            e.preventDefault();
            (video.value as any).plyr.togglePlay();
        }
    });

Rishi-Bidani avatar Jan 01 '23 07:01 Rishi-Bidani