mykle1 / MMM-EasyBack

The easiest way to use pictures, local video and YouTube video as a background on your mirror.
MIT License
12 stars 10 forks source link

Video background Stops lopping #1

Open zero1niner opened 4 years ago

zero1niner commented 4 years ago

Hi Mykle. thanks for the awesome module. I noticed that if I add a video background, it will loop for a while, but eventually stop. Do you have any ideas on what can be modified to keep the file looping indefinitely?

sithlordhood commented 3 years ago

I second this, would be great to fix this issue

bellandari commented 3 years ago

Third. Worked great for a bit but now it's just a static image.

ctkjedi commented 3 years ago

Just installed it for the first time today, adding my ditto - just a still frame of the mp4 I added to the videos folder

bellandari commented 3 years ago

For anyone having this issue or who finds it in the future - I merely bypassed this by installing this module https://github.com/jasonyork/MMM-auto-refresh and set it to refresh every thirty minutes. Its a very brief refresh so I usually don't notice it.

I also scripted a Python bot to change the video at the same interval so every half hour I have a new video. I'll be releasing it in a few days if anyone is interested, it'll be on my GitHub soon.

ctkjedi commented 3 years ago

For anyone having this issue or who finds it in the future - I merely bypassed this by installing this module https://github.com/jasonyork/MMM-auto-refresh and set it to refresh every thirty minutes. Its a very brief refresh so I usually don't notice it.

I also scripted a Python bot to change the video at the same interval so every half hour I have a new video. I'll be releasing it in a few days if anyone is interested, it'll be on my GitHub soon.

Interesting solution. I wonder if there's a way to tie in a PIR sensor to the refresh or the playback of the video in addition to the screen toggle.

sithlordhood commented 3 years ago

For anyone having this issue or who finds it in the future - I merely bypassed this by installing this module https://github.com/jasonyork/MMM-auto-refresh and set it to refresh every thirty minutes. Its a very brief refresh so I usually don't notice it.

I also scripted a Python bot to change the video at the same interval so every half hour I have a new video. I'll be releasing it in a few days if anyone is interested, it'll be on my GitHub soon.

Thanks very much for this idea! working great!

cowboysdude commented 2 years ago

"https://www.youtube.com/embed/"+ this.config.youTubeID+"?autoplay=1&mute=1&showinfo=0&vq=hd1080&loop=1";

Replace the line inside the js with this one.....

cowboysdude commented 2 years ago

For anyone having this issue or who finds it in the future - I merely bypassed this by installing this module https://github.com/jasonyork/MMM-auto-refresh and set it to refresh every thirty minutes. Its a very brief refresh so I usually don't notice it. I also scripted a Python bot to change the video at the same interval so every half hour I have a new video. I'll be releasing it in a few days if anyone is interested, it'll be on my GitHub soon.

Interesting solution. I wonder if there's a way to tie in a PIR sensor to the refresh or the playback of the video in addition to the screen toggle.

That's too much work and you don't need to do that LOL

"https://www.youtube.com/embed/"+ this.config.youTubeID+"?autoplay=1&mute=1&showinfo=0&vq=hd1080&loop=1";

sithlordhood commented 2 years ago

What about for videos that play from the local SD card?

bellandari commented 2 years ago

For anyone having this issue or who finds it in the future - I merely bypassed this by installing this module https://github.com/jasonyork/MMM-auto-refresh and set it to refresh every thirty minutes. Its a very brief refresh so I usually don't notice it. I also scripted a Python bot to change the video at the same interval so every half hour I have a new video. I'll be releasing it in a few days if anyone is interested, it'll be on my GitHub soon.

Interesting solution. I wonder if there's a way to tie in a PIR sensor to the refresh or the playback of the video in addition to the screen toggle.

That's too much work and you don't need to do that LOL

"https://www.youtube.com/embed/"+ this.config.youTubeID+"?autoplay=1&mute=1&showinfo=0&vq=hd1080&loop=1";

I’m sure that works if you want to stream from YouTube.

I no longer use MagicMirror but I didn’t like streaming from YouTube and preferred videos from my card so that wouldn’t work for me.

Thanks for letting me know there was a simpler way for YouTube.