mirror of
https://github.com/stashapp/CommunityScripts.git
synced 2026-05-30 21:49:23 -05:00
* [mobileWallLayout] Add play-on-visibility and ordered loading Adds two mobile-first behaviors to the existing layout plugin and rebrands the display name to "scrollFeed": - IntersectionObserver gates <video> play/pause on 10% visibility. Caps concurrent playbacks to ~3, well under iOS Safari's ~20-simultaneous-<video> ceiling that the unchanged Stash wall hits on a 20-card page. - A DOM-ordered load queue cancels the parallel-fetch storm Stash kicks off when all wall cards mount at once. Top clips get uncontested bandwidth first, and a 500ms timeout advance ensures the full page is in-flight within ~5s so degrading reception doesn't strand the bottom of the page with zero bytes. The plugin's internal id stays mobileWallLayout so existing installs upgrade cleanly. The whole file is wrapped in an IIFE to avoid top-level name collisions with other plugins loaded into the same document. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com> * Restore discourse thread URL in plugin YAML and README The scrollFeed rebrand inadvertently repointed the YAML url: field to a GitHub tree URL and dropped the discourse link from the top of the README. Every other plugin in this repo uses the discourse thread as its url: value (it's what the Stash plugins panel surfaces as the plugin's support link), so restoring the original discourse URL here keeps the convention and keeps existing users linked to the plugin's discussion thread. --------- Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
11 lines
375 B
YAML
11 lines
375 B
YAML
name: scrollFeed
|
|
description: >
|
|
A scrolling feed of your favorite marker clips, designed for private
|
|
one-handed mobile viewing. No scene navigation — just scroll for the next
|
|
clip. Pairs with the preview-cap patch (linked) for clip-length playback.
|
|
version: 3.0
|
|
url: https://discourse.stashapp.cc/t/mobile-wall-layout/6160
|
|
ui:
|
|
javascript:
|
|
- mobileWallLayout.js
|