xxxily / h5player

This software supports all audio and video websites, such as TikTok, YouTube, Bilibili, TED, Instagram, Twitter, etc. Features include: variable playback speed, screen capture, video download, custom settings, and extensions, etc., providing you with a pleasant online audio and video playback experience.
https://h5player.anzz.top
GNU General Public License v3.0
3.05k stars 253 forks source link

[BUG] cannot write on non <input> input boxes #527

Open THErlego opened 1 year ago

THErlego commented 1 year ago

1. interference with <div contenteditable="True"></div> input boxes 2. cannot type in element, video controls take over 3. chrome 110

EDIT: another dev said to replace const isEditable = target.getAttribute && target.getAttribute('contenteditable') === 'true'; with const isEditable = target.getAttribute && target.getAttribute('contenteditable').toLowerCase() === 'true';