Play that faggy music weeb boi
这些是代码更新过的版本。 显示所有版本
Changed HUD UI icons again.Added option to change font size in the settings.The display size setting has been moved to settings (previously it was just variables at the beginning of the script).Fixed a bug where dragging the player could shrink it by 1 pixel.Fixed some CSS issues with the minimized player where the re-maximize div would have 100% width.Fixed repeat one/all/none not working correctly.
- sound posts [sound=URL] are now fetched via base64-encoded GM_xmlhttpRequests- webm/mp4 sound posts [sound=URL.mp4] are now supported- most of module 6 was rewritten can't be arsed listing it all
- Updated media player header GUI.- Fixed positioning. The sound player header should no longer get stuck behind 8chan navigation header anymore.- Fixed the post width limit function. This function applies a maximum width to posts next to the player so they are not hidden behind them. It is disabled by default.- Code in module 21 has been beautified.
A toggle has been added to the media player footer to only show posts with an sound tag.Added @downloadURL and @updateURL to the header.Removed the 4chan-sounds-player github page url from the header (moved it under the header, it's just a simple comment now).
Fixed a bug where [sound=URL].mp4 posts would not play the video.
Removed @match *8chan.moe/*/res/* and @match *8chan.se/*/res/* from the header. It works fine on Tampermonkey but causes issues on Violentmonkey.
Sound Player now replaces _ characters with % characters. Thanks to that sound posts that Firefox fucked up during file download will play now.Added @match https://8chan.moe/*/res/* and @match https://8chan.se/*/res/* into the header.
Added variables for setting the media display size to the top of the script so you can easily configure them to your liking.The script now samples the pages' CSS and adjusts its own visual elements accordingly.
Videos without the [sound=URL] tag now loop seamlessly.Improved video/audio synchronization.Files from class="innerOP" are now correctly fetched and parsed.Fixed an issue where the minimized display was not positioned correctly.The script now has an icon.Various bug fixes.
The format for displaying names inside the player has been updated (Post ID + File Size + File Format + File Name).You can now resize the video within the player.Various bug fixes.
Sound Player now lists all .mp4 and .webm files, not just files with [sound=URL] tags.Script now correctly parses all files from a postCell, not just one file.Script now prioritizes [sound=URL] tags over built-in sound when available.