Read the statement by Michael Teeuw here.
Module: iFrame! Starting Video automatically!
-
@lolobyte Just “http://media.tagesschau.de/video/100s/2016/1228/TV-100s-1841.podm.h264.mp4” isn’t work for you?
-
Hello Ramirez.
The video is starting but only once.
Then, when i restart the magicmirror.I realized the link http://media.tagesschau.de/video/100s/2016/1228/TV-100s-1841.podm.h264.mp4, is no option.
The video is not really the actual newest information of the day. I must use one of the other links.My plan was to became a possibility to start every time when i activate the iframe module with the first tapping on “iFrame” with the hep of the module “Remote-Control”.
-
Hello @lolobyte,
that is exactly what i also wanted to do. Starting the Tagesschau or whatever with the “Remote-Control” module. Did you found a solution for your problem? -
Hello, no sorry. I didn’t find a solution and also no helping hand for that.
-
Har. That’s sad. Then I need to check the possibilities by myself. I thought I just wait some time and the problem solves itself.
-
Would it work for you guys if I implement a
config
parameter for the Remote Control, similar to the ones I use for my Buttons module (notification specification), and you can create custom Buttons with this specification for the remote control? -
That will be great.
But on e or more things to this thematic.
It is not the problem to load the movie with iFrame. The problem is if the Frame is loaded, you must simulate a mouse button to start this movie.
This Movie is not like one from YouTube. They can run automatically with the option autoplay=1.
The Stream from the “Tagesschau in 100 Sekunden” needs an initial starting sequence.
-
@lolobyte The problem for “Tagesschau in 100 Sekunden” you can not using autoplay variable because is a parameter of Youtube. I think the integration with they will not possible with Iframe. Maybe a stream video module o something like that, I dont know if exists one. If not exists you can create one for this purpose.
-
@roramirez is right I think.
@lolobyte I thought you guys were talking about this module: https://github.com/ptrbld/MMM-Podcast? Does it not work?
-
@Jopyth @roramirez exact. You are right. This is the Module I am using. But it will only start with a Hardwarebutton. So last night i added an extra menubutton to the Remote-Control, which will send the notification “BUTTON_PRESSED” to all modules (i hope also to the PodcastModule) and then the Video should start.
That’s the theory. But i ended at the point where the Notification will be send. I also have some trouble with the podcast video download. etc.Anyway. I figured out 3 ways to realize the “Remote Start a Video”
- use the Podcast-Module
- with the Tagesschau in 100 Sek RSS
- use Iframe
- and the channel “project ambr” (just search “Tagesschau in 100 sekunden” on youtube), where the latest TS100s will be uploaded every time a new one is released
- here it’s possible to use autoplay, but i could not find a permanent link to the newest video of this channel
- use Iframe
- and show the whole TS Website
- there the autoplay is ON by default
- negative points: you see the whole website around, when switching the iFrame off, while the video plays the sound will not switch off. Only the iFrame disappears. (logic cause it’s a visible switch)
ALL of them use the Remote to
- switch the Iframe / podcast module ON
- switch all other modules off
- start the video either by notification or automated