Play with MPV

Play videos and songs on the website via mpv-handler

These are versions of this script where the code was updated. Show all versions.

  • v2024.04.22.3 2024-04-22

    release: 2024.04.22.3

  • v2024.04.22.2 2024-04-22

    2024.04.22.2

  • v2024.04.22.1 2024-04-22

    release: 2024.04.22.1

  • v2024.04.22 2024-04-22

    refactor: remove useless quote

    release: 2024.04.22

  • v2023.10.14 2023-10-14

    release: 2023.10.14

    Rename some options:

    • Prefer Video Quality
      • best -> default
    • Prefer Video Codec
      • any -> default

    The "default" will using options in the mpv.conf or default options of the mpv.

    And add check for these two options, replace to "default" if you're using old options name. It doesn't change the saved settings, until users click the "Save" button.

    fix #16

  • v2023.07.04 2023-07-04

    release: 2023.07.04

    Add kick.com

  • v2023.05.20 2023-05-20 release: 2023.05.20 Hide icon when video is playing in fullscreen, even if url is changed (a.k.a. YouTube fullscreen PJAX)
  • v2023.05.10 2023-05-10 release: 2023.05.10
  • v2023.02.11 2023-02-11 feat: delete shortcut function The modifier key Alt doesn't work properly on Microsoft Edge. And Ctrl or Shift are useful (for most browsers, to open in a new tab or a new window) Remove shortcut function until find a suitable key.
  • v2023.02.10.2 2023-02-10 release: 2023.02.10.2 Fix event.target.href is undefined
  • v2023.02.10.1 2023-02-10 release: 2023.02.10.1 Remove useless function GM_openInTab
  • v2023.02.10.1 2023-02-10 release: 2023.02.10.1 Remove useless function GM_openInTab
  • v2023.02.10.1 2023-02-10 release: 2023.02.10.1 Remove useless function GM_openInTab
  • v2023.02.10 2023-02-10 release: 2023.02.10 Add a shortcut, hold "Alt" and click on any link to play that link directly. close #14
  • v2023.01.23 2023-02-05 feat: remote useless .gitattributes
  • v2023.01.23 2023-01-23 release: 2023.01.23
  • v2023.01.18.1 2023-01-18 docs: update README.md
  • v2023.01.18.1 2023-01-18 release: 2023.01.18.1 update style for GM_config. use select element instead of radio.
  • v2023.01.18 2023-01-18 release: 2023.01.18 update css for GM_config
  • v2023.01.17 2023-01-17 release: 2023.01.17
  • v2022.11.11.3 2022-11-11 release: 2022.11.11.3 fix beta.crunchyroll.com
  • v2022.11.11.2 2022-11-11 release: 2022.11.11.2 fix click button doesn't open mpv-handler on crunchyroll.com
  • v2022.11.11.1 2022-11-11 release: 2022.11.11.1 Add support for Crunchyroll Close #8
  • v2022.11.11 2022-11-11 release: 2022.11.11
  • v2022.10.29 2022-10-29 release: v2020.10.29 mpv-handler v0.2.17
  • v2022.04.18 2022-04-18 release: v2022.04.18 Notify mpv-handler updates only once
  • v2022.04.17 2022-04-17 release: v2022.04.17 update mpv-handler version
  • v2022.03.24 2022-03-24 release: v2022.03.24
  • v2022.03.09 2022-03-24 ADD youtube shorts (#11)
  • v2022.03.09 2022-03-09 20220309
  • v2021.09.21 2022-03-09 @match for m.youtube.com (#10)
  • v2021.09.21 2021-09-21 fix: kio convert "domain" part in url to lowercase A simple magic
  • v2021.09.21 2021-09-21 fix: kio convert "domain" part in url to lowercase A simple magic
  • v2021.07.24.1 2021-07-24 Imported from URL
  • v2021.07.24 2021-07-24 relase: v2021.07.24
  • v2021.04.24 2021-04-24 fix: reset to defaults not work Save settings before close setting iframe
  • v2021.03.24 2021-03-24 feat: mpv-handler v0.1.8
  • v2021.03.02 2021-03-23 Imported from URL
  • v2021.03.02 2021-03-02 play-with-mpv-handler: 2021.03.02 Change label "Use Cookies" to "Try Pass Cookies", README: update all
  • v2021.02.26 2021-02-26 play-with-mpv-handler: 2021.02.26 Correct the URL format `mpv-handler` update to v0.1.7
  • v2021.02.25 2021-02-25 play-with-mpv-handler: 2021.02.25 Fix element ID conflict with youtube.
  • v2021.02.24 2021-02-24 play-with-mpv-handler: 2021.02.24 Note: settings will be reset. Format some code style.
  • v2021.02.22.2 2021-02-22 play-with-mpv-handler: 2021.02.22.2 mpv-handler update
  • v2021.02.22.1 2021-02-22 play-with-mpv-handler: 2021.02.22.1 mpv-handler update
  • v2021.02.22 2021-02-22 play-with-mpv-handler: 2021.02.22 Add `Use Cookies` options, support pass cookies to youtube-dl. For advanced users to view mebmer-only videos.
  • v2021.02.19 2021-02-19 play-with-mpv-handler: 2021.02.19 YouTube: match playlist url
  • v2021.02.17 2021-02-17 play-with-mpv-handler: 2021.02.17 Case-insensitive regex
  • v2021.02.16 2021-02-16 play-with-mpv-handler: 2021.02.16 Fix bilibili url match
  • v2021.02.09.1 2021-02-09 play-with-mpv-handler: 2021.02.09.1 Add new site support: - clips.twitch.tv
  • v2021.02.09 2021-02-09 play-with-mpv-handler: 2021.02.09 Add new site support: - twitch.tv

Show all script versions