MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Module: iFrame! Starting Video automatically!

    Scheduled Pinned Locked Moved Troubleshooting
    14 Posts 4 Posters 10.5k Views 4 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • R Offline
      roramirez Core Contributors @lolobyte
      last edited by

      @lolobyte Just “http://media.tagesschau.de/video/100s/2016/1228/TV-100s-1841.podm.h264.mp4” isn’t work for you?

      Easy module development with MagicMirror Module Template

      lolobyteL 1 Reply Last reply Reply Quote 0
      • lolobyteL Offline
        lolobyte @roramirez
        last edited by

        @roramirez

        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”.

        1 Reply Last reply Reply Quote 1
        • MorningstarM Offline
          Morningstar
          last edited by

          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?

          lolobyteL 1 Reply Last reply Reply Quote 0
          • lolobyteL Offline
            lolobyte @Morningstar
            last edited by

            @Morningstar

            Hello, no sorry. I didn’t find a solution and also no helping hand for that.

            1 Reply Last reply Reply Quote 0
            • MorningstarM Offline
              Morningstar
              last edited by

              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.

              1 Reply Last reply Reply Quote 0
              • J Offline
                Jopyth Moderator
                last edited by Jopyth

                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?

                Helpful sticky: How to troubleshoot

                lolobyteL 1 Reply Last reply Reply Quote 0
                • lolobyteL Offline
                  lolobyte @Jopyth
                  last edited by

                  @Jopyth

                  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.

                  R J 2 Replies Last reply Reply Quote 0
                  • R Offline
                    roramirez Core Contributors @lolobyte
                    last edited by

                    @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.

                    Easy module development with MagicMirror Module Template

                    1 Reply Last reply Reply Quote 0
                    • J Offline
                      Jopyth Moderator @lolobyte
                      last edited by Jopyth

                      @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?

                      Helpful sticky: How to troubleshoot

                      1 Reply Last reply Reply Quote 0
                      • MorningstarM Offline
                        Morningstar
                        last edited by Morningstar

                        @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”

                        1. use the Podcast-Module
                        • with the Tagesschau in 100 Sek RSS
                        1. 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
                        1. 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

                        1. switch the Iframe / podcast module ON
                        2. switch all other modules off
                        3. start the video either by notification or automated
                        1 Reply Last reply Reply Quote 0
                        • 1
                        • 2
                        • 1 / 2
                        • First post
                          Last post
                        Enjoying MagicMirror? Please consider a donation!
                        MagicMirror created by Michael Teeuw.
                        Forum managed by Sam, technical setup by Karsten.
                        This forum is using NodeBB as its core | Contributors
                        Contact | Privacy Policy