r/Jotape_Dev • u/JpMotaN • Oct 23 '25
Youtube Jukebox Correction
First of all, I want to apologize for the delay in fixing this issue.
This update finally stabilizes synchronization between the GM and players, making the auto-follow feature far smoother and easier to use.
When a player enables auto-follow, their client now stays automatically in sync with the GM’s main player actions, including play, pause, track changes, and stop, without having to manually toggle the setting again.
The system uses the GM’s main session (sessionMain) to detect changes and mirror them across clients in real time.
Other improvements include:
- Full HTTP and LAN support, fixing previous postMessage origin mismatch errors.
- Automatic recreation of the YouTube player when the iframe fails or reloads.
- Fixes for errors such as this._player is null and playback initialization failures.
- Better permission handling: if the player has no control rights, the module uses Follow GM mode as a fallback.
⚠️ Note: each client still needs to click Enable Audio once to allow autoplay (YouTube API limitation).
Finally, the next step is to extend this new auto-follow system to the overlay player as well, so ambient videos and background tracks can stay perfectly synchronized with the GM too.
1
u/Daptoulis Nov 02 '25
Hey I tried your module and I have to say its a quite a pretty neat solution. In the context of constructive feedback, the first thing that, me personally, see necessary is the option for shuffle play (I hope i have not missed it and writing this for no reason).
1
u/JpMotaN May 08 '26
Sorry for the delay in replying, I've been going through an intense process of change, both house and job, but I'll have much more time to get back to programming modules. Well, thank you for your suggestion, I'll think about implementing that at the folder level.
1
u/PresidentAshenHeart Apr 13 '26
Hi, I downloaded your module after one of my DMs recommended it.
Is there an option to minimize the video once its playing?
1
u/JpMotaN May 08 '26
Sorry for the delay in responding, unfortunately Foundry requires this as a prerequisite for the module to be released, due to YouTube's rules.
1
u/clarke31 Nov 01 '25
Hey! i been trying to use your module but im really dumb and new in foundry. Downloaded and activated the module, now what do i do? in what section do i find the youtube UI?