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.3k 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.
    • 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
                  • J Offline
                    Jopyth Moderator
                    last edited by

                    Have you been able to solve it? Is there anything missing you would need in the Buttons or Remote Control module?

                    Helpful sticky: How to troubleshoot

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

                      Hey @Jopyth,
                      yes I made it. It works, but only with one video. At the moment, I am changing the Podcast module to play two videos (with two buttons at the remote page), two or more timed donwloads, but that will take some time. If someone want to use the one Video Version i can send the files, or upload them on github?! I made most of the changes in the Remote-module.

                      I am looking for a development enviroment to develop faster than it’s possible with “serveronly”. Any suggestions?
                      Ah and one thing, could you tell me how to get these incons for the buttons on the Remote page? A “Play”-icon would be nice.

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

                        @Morningstar They are fontawesome icons.

                        Helpful sticky: How to troubleshoot

                        1 Reply Last reply Reply Quote 1
                        • 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