Prototype: Embedded Scene Player

I have created a plugin repo for quick prototypes and brain farts, with the intention of demonstrating concepts or inspiring more complete plugins.

Github repository is here

Plugin source is available at: https://withoutpants.github.io/stash-plugin-prototypes/main/index.yml

First up is an idea that was raised in Discord a while ago. A user raised the idea of using stash to store metadata for online videos. The Embedded Scene Player (name probably needs workshopping) can be configured with a list of URL fragments:

Then, on the scene page, if a scene has no files and one of the scene’s URLs matches any of the configured plugin URL fragments, then the scene player is replaced with the embedded player:

I tested using the following string in the URLs setting:

["pornhub.com/embed/", "www.youtube.com/embed/", "//bigwarp.io/embed-", "//xhamster.com/embed", "//www.xvideos.com/embed", "//www.xnxx.com/embedframe/", "//www.youporn.com/embed/"]

Youtube puts restrictions on how things are embedded. I wasn’t able to get it to work when navigating to my stash server via IP address, a domain name was sufficient to get it to work (I used a local .lan domain).

The xnxx site doesn’t appear to have any of its embeds working: all of them give an error message This video has not been released yet.

Note: this requires a recent (v0.27.2-90+) build, since it requires patchable ScenePlayer component.

I think there’s potential with this idea, but I don’t really have the capacity to develop it into a complete product.

2 Likes