• Recent
  • Tags
  • Unsolved
  • Solved
  • MagicMirror² Repository
  • Documentation
  • 3rd-Party-Modules
  • Donate
  • Discord
  • Register
  • Login
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 9.2k 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.
  • M Offline
    Morningstar
    last edited by Feb 3, 2017, 5:53 PM

    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 Feb 4, 2017, 2:11 PM Feb 4, 2017, 2:10 PM

      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

      L 1 Reply Last reply Feb 4, 2017, 3:26 PM Reply Quote 0
      • L Offline
        lolobyte @Jopyth
        last edited by Feb 4, 2017, 3:26 PM

        @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 Feb 4, 2017, 3:42 PM Reply Quote 0
        • R Offline
          roramirez Core Contributors @lolobyte
          last edited by Feb 4, 2017, 3:42 PM

          @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 Feb 4, 2017, 3:43 PM Feb 4, 2017, 3:42 PM

            @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
            • M Offline
              Morningstar
              last edited by Morningstar Feb 4, 2017, 4:15 PM Feb 4, 2017, 3:56 PM

              @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 Feb 15, 2017, 10:42 AM

                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
                • M Offline
                  Morningstar
                  last edited by Morningstar Feb 16, 2017, 10:31 PM Feb 16, 2017, 10:29 PM

                  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 Feb 18, 2017, 12:24 PM Reply Quote 0
                  • J Offline
                    Jopyth Moderator @Morningstar
                    last edited by Feb 18, 2017, 12:24 PM

                    @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