Randomized video player 1.0

Discussion about Cock Hero and other sexy videos.

Moderator: andyp

Post Reply
Ginryuu
Explorer
Explorer
Posts: 9
Joined: Mon Sep 06, 2010 4:20 pm

Randomized video player 1.0

Post by Ginryuu »

Hi. This is offline html app for mixing your videos into something like pmv with optional interactivity and e-stim (and other toys with generic input) support via xtoys. I'm not a professional coder and don't have much free time for testing, so expect bugs. For now I finished most of the features that I wanted to implement, maybe I'll make some minor adjustment or bugfixes later.
App should be compatible with chrome browser (even mobile one mostly works as intended). I didn't test other browsers - some parts of the player probably won't work properly, especially with older browsers.

Instruction:
- start Player.html.
- input video files. You can input multiple files at once and add the same video multiple times. You can use "select folder" button to reload all of them in the next session (they can't be loaded automatically because of html security limitations). To set start and end times of clip you can navigate preview player and then click on time input box.
- setup parts and select clips for each part.
- set sequences and additional options for each part by clicking "part settings".
- press start

Additional options:
- clip sequences editor. The button is at the top of "part settings". Sequences with custom speed parameters are unaffected by part speed settings. You can share sequences using import codes. I couldn't test every parameters combination, so some of them might stutter or break the session.
- poppers clips overlay. To set clips in poppers section you'll have to place them in /poppers folder and then input them. You only have to do that once. Should probably use shorter clips. Cooldown periods are set in "part settings".
- highlights at the bottom of the screen for red light - green light parts. They are tied to sequence/clip types (random, positive, negative or reward)
- intro text at the start of the part. You can setup presets for different fonts and text positions and select tts voice to read it.
- custom variables system (not tested properly. Could be buggy)
- clicker minigame. You can set reward for filling the goal by keeping the bar on target, or punishment for overcap by using different sequences types and variables. Or you can tie e-stim intensity to the bar. Turn on highlights to know when to click, or hide them to guess.
- you can select what happens at the end of each part. You can start the next part based on variables or enable choice dialog. Voice commands can be assigned for each button through xtoys speech recognition (it's kinda clunky but working. Use shorter and distinct words/phrases).
- skip buttons. They become active after fulfilling variables condition and allow you to skip to predefined parts. Also with voice commands.
- you can import/export your settings to save presets or share them (you'll have to share videos as well. they are saved by file names).

Any feedback is appreciated :-)

https://mega.nz/folder/1EAAFbBL#yjbhI7VcNjlFKq3ZcjQ_1Q
Last edited by Ginryuu on Wed Dec 04, 2024 6:02 pm, edited 2 times in total.
juliasilva
Explorer
Explorer
Posts: 40
Joined: Fri Jan 25, 2019 8:08 pm

Re: Randomized video player

Post by juliasilva »

Was it really necessary to have over 160k characters just in the JS file? hahaha, it makes so much harder to understand where each part is hahaha, and the functionality does not seem so complicated for such long and extensive code, I am planning to beyond testing your app, see if I can better understand its code, one idea of mine is that it would be cool if you could somehow have a save current settings button, that saves into a local file, the current config, since I have been losing so much time reconfiguring the sequences every time hahaha
Ginryuu
Explorer
Explorer
Posts: 9
Joined: Mon Sep 06, 2010 4:20 pm

Re: Randomized video player

Post by Ginryuu »

I had the code separated into some more js files but then decided to combine them back. The idea is to stick it all into html later.
It saves SOME of your settings in local storage when you press start button )
I'll try adding saves for other settings soon.
juliasilva
Explorer
Explorer
Posts: 40
Joined: Fri Jan 25, 2019 8:08 pm

Re: Randomized video player

Post by juliasilva »

I sent to you in private a long guide/documentation of sorts that should help you not to get lost in this massive file, Tell me later if actually was of any help!
Ginryuu
Explorer
Explorer
Posts: 9
Joined: Mon Sep 06, 2010 4:20 pm

Re: Randomized video player

Post by Ginryuu »

Updated the player.
Most settings should now save between sessions.
Highlights (rlgl) are now separate settings for each part. You can also change colors.
Fixed some bugs.
Ginryuu
Explorer
Explorer
Posts: 9
Joined: Mon Sep 06, 2010 4:20 pm

Re: Randomized video player

Post by Ginryuu »

Update v0.9
Added Xtoys script for estim and generic output.
You can now import and export settings to a file.
Clips settings should now save between sessions. Clips buttons should now save their state based on associated filenames.
Fixed tooltips.
Fixed the minimal required number of clips by creating temporary duplicate players.
Fixed some bugs (probably made some new ones).

Minor update v0.91
You can now load all video and audio files from previous session by clicking "select folder". (It will load all the files in folder and subfolders and then pick the ones that you previously selected)

Update v0.92
I changed the structure a bit so previous saves won't work.
Single clip parts is now an option.
Background audio and clip audio have separate settings with their own volume sliders.

Update v0.95
Finished sequence editor. You can now create chains of clip sequences and override clip sources for them. Fixed a lot of bugs there (not sure I got them all. too much conditions for me to test all at once)
Clips can be mirrored now.

Next update will probably be final. I plan to add some interactivity functions, like creating choice buttons at the end of a part, redirections, maybe some simple conditions, clicker-like minigame (if I can make it work good enough). Since nobody seems to care, I'll take my time with it.
alxua
Curious Newbie
Curious Newbie
Posts: 3
Joined: Thu Jun 06, 2013 9:21 pm
Gender: Male
Sexual Orientation: Straight

Re: Randomized video player

Post by alxua »

Thanks, good job :-)
Works fine only in an older browser, such as Firefox Portable 91.
Ginryuu
Explorer
Explorer
Posts: 9
Joined: Mon Sep 06, 2010 4:20 pm

Re: Randomized video player 1.0

Post by Ginryuu »

final(ish) update. I'll try to test some more and fix some bugs whenever I have time.
Player.js and Style.css files are no longer needed.
alxua
Curious Newbie
Curious Newbie
Posts: 3
Joined: Thu Jun 06, 2013 9:21 pm
Gender: Male
Sexual Orientation: Straight

Re: Randomized video player 1.0

Post by alxua »

Thanks you :-)
Work good :love:
Post Reply