8chan sounds player

Play that faggy music weeb boi

ผู้เขียน
soundboy_1459944
จำนวนติดตั้งประจำวัน
0
จำนวนติดตั้งทั้งหมด
4
คะแนน
0 0 0
เวอร์ชัน
2.3.0_0010
สร้างเมื่อ
21-04-2025
อัปเดตเมื่อ
27-04-2025
Size
194 กิโลไบต์
สัญญาอนุญาต
CC0 1.0
ปรับใช้กับ
SINCE UPDATE 0010 CONTENT-SECURITY-POLICY WEB BROWSER EXTENSION IS NO LONGER NECESSARY

8CHAN SOUND PLAYER

This script is a fork of 4chan Sounds Player 2.3.0 (https://github.com/rcc11/4chan-sounds-player) that has been adapted to work on 8chan.

The 8chan Sounds Player userscript adds a media player to 8chan threads, allowing you to play media with audio/video files linked in their filename and also regular webm/mp4 files (no [sound=URL]).

Features:

  1. Plays all sound posts (formatted like [sound=URL]) and all other webm/mp4 files
  2. Creates a player interface with:
    • Play/pause/skip controls
    • Volume adjustment
    • Playlist
    • Progress bar and timestamps
    • Video resize handle
  3. Adds navigation buttons in both Header menu and Thread footer

Recommendations:

If you're not using FullchanX, add this to your CSS so the play links next to the filename don’t get obscured by another image in multi-image posts.
      a.originalNameLink {
         display: inline-block;
         overflow: hidden;
         white-space: nowrap;
         text-overflow: ellipsis;
         max-width: 65px;
      }


Bugs:

- if any other script messes with the html too much, the script will not work
- videos with chroma subsampling in YUV444 format will not play, only its audio will be played (firefox only)
- poorly encoded videos will throw  Media resource could not be decoded, error: Error Code: NS_ERROR_DOM_MEDIA_METADATA_ERR , but might play anyway (firefox only)
- Dark Reader completely bastardizes the visuals of the 8chan Sounds Player. turn Dark Reader off. There is the tomorrow theme anyway.

You can report bugs in feedback!

Please include console logs and mention any other script you are using.

-----------------------------------------------------------------

Legacy: This only applies if you are using version 0009 or earlier.

Quirks:
8chan's Content-Security-Policy blocks filename sound URLs [sound=files.catbox.moe%2Fabc.mp3].
On Firefox this can be bypassed by inserting  // @sandbox JavaScript  in the header, but this solution does not work in Chrome.
You can get [sound=URL] working in Chrome by installing the Disable Content-Security-Policy web browser extension.
https://chromewebstore.google.com/detail/disable-content-security/ieelmcmcagommplceebfedjlakkhpden
Note: after installing the extension you have to turn it on by clicking on the icon.