pwPlayer.js - Scene Card Quick Player

:red_exclamation_mark: Notice
If you are the author of this project, you can claim this topic by clicking > at the bottom of this post. Select Something Else as a reason and leave a comment explaining you want to claim the topic. Include a link to your git profile or pull request showing ownership of the project.

:placard: Summary This Javascript will create a “Play” button in each scene card. You can click on it and the video for that scene will be played right away. Click on the video again, then you are back to the scene list.
:link: Repository https://github.com/philpw99/StashCustomJavascripts/blob/main/pwPlayer.js

To install my scripts

Just copy the content of the script you choose and paste them into the “Settings->Interface->Custom Javascript”. Reload the browser and done.

Please don’t paste 2 scripts into it, or mixing different scripts together. It usually won’t work. Or you are also familiar with Javascript, then you can do your own mixing.


pwPlayer.js - Scene Card Quick Player

This Javascript will create a “Play” button in each scene card. You can click on it and the video for that scene will be played right away. Click on the video again, then you are back to the scene list.

Features

  • You Use different mode to watch the video
    • browser mode: video will be played inside the browser.
    • browserfull mode: video will be played inside the browser, but in fullscreen mode.
    • player mode: script will try to send the video to an external player like VLC. It works well in Android, but others need more work.
  • One click to end the play back, and you will see the scene selection again. Very convenient.
  • Worked and tested in all 3 major browsers: Chrome, Firefox and Ms Edge.
  • Now it can show detailed information for the scene file: