There is a chance that MMM-Modal might be of help to you on this…
Posts made by justjim1220
RE: Controllable Youtube Embed player module?
@Sean I have been trying to modify MMM-RandomYouTubePlayer to do those actions
at the moment, it will play a playlist from YouTube and can be configured to play at random or in order
it has full controls which are customizable with Boolean and other values
I would like it to play a play list, or from a json file of a list of YouTube videos, or from a list that can be controlled by notification
RE: Help with Pages...
looking through dev tools on this, I see when a page turns, whether by click or by timer, it will list all the modules from the current page and suspend them, then it lists all the modules for the second page and resumes them. And it looks as if it is done via notification.
Is it possible to use the dev tools notification as a trigger to show/hide, suspend/resume, or disable/enable?
@justjim1220 each module would have to handle the hide(suspend)/show(resume) effect on themselves. Pages uses hide/show which turns into the suspend/resume calls
so, what I am getting from this statement, this can be done through the pages module???
RE: Help with Pages...
@sdetweil that’s what I am having the problem with. I use MMM-pages, it doesn’t really use a css file except to give the module position. so I have no idea how to set it up this way.
Here’s another example:
On page 1 I have MMM-Spotify
Page 2 I have MMM-SoundMachine
And page 3 I have MMM-MyVideoPlayer
I would have the page swap set to say 3 hours, meaning it will change to the next page after 3 hours, So, if on page 1, MMM-Spotify is active and playing, then the modules on pages 2 & 3 are inactive (not playing). And, when the 3 hours is up and the page changes to page 2, then Spotify would become inactive, SoundMachine would become active, and the video player would remain inactive until the page changes to page 3.
I hope this makes sense, I am not sure where in the configurations of the modules or in custom css or what to place code to make this happen, NOR, do I have any idea how to write the code for something like this.
Help with Pages...
anyone have an idea of how to disable, or stop, or pause, etc a module when the page changes away from the page the module is on?
IE: I have 3 pages, on one of the pages, I have a module that plays music either by audio or video, currently, that module will continue playing no matter what page I go to. if the video player module is on page 3, then it should not be heard if on pages 1 & 2.
Or if I have the Spotify module on page 1, then it shouldn’t be heard on pages 2 & 3.
Any Ideas from anyone?
I have tried a few searches without success
Thanks in advance!