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

Introducing MMM-YouTubeWebView Module

Scheduled Pinned Locked Moved Entertainment
youtubewebviewembed
7 Posts 4 Posters 2.2k Views 5 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.
  • K Offline
    KristjanESPERANTO Module Developer @doctorwhen
    last edited by KristjanESPERANTO Dec 25, 2023, 12:23 AM Dec 25, 2023, 12:22 AM

    Hi @doctorwhen! Thanks for this module! :-)

    I tried to get it to run, but it just doesn’t. I don’t get an error message, just a black screen. I am using node version 18 and the latest version of MagicMirror.

    Does the module work for you (or for someone else) with current versions?

    That’s my config:

    {
        module: "MMM-YouTubeWebView",
        position: "middle_center", 
        config: {
          video_id: "w3jLJU7DT5E", 
          video_list: [
            "CtVyl402W5s", 
            "wmUVy43tqw4",
            "J_TxPQKcG7w", 
            "avWZsKyuRVE",
            "IpkIGGJMHBA", 
            "B9zgwx6mhrk",
            "6KvTDeHlIfI"
          ],
          autoplay: true,
          controls: true,
          loop: true,
          modestbranding: true,
          width: "800px",
          height: "450px"
        }
      }
    
    S 1 Reply Last reply Dec 25, 2023, 1:23 AM Reply Quote 0
    • S Offline
      sdetweil @KristjanESPERANTO
      last edited by Dec 25, 2023, 1:23 AM

      @KristjanESPERANTO if you open the developers window console tab view,
      do you see any errors. this module is all in browser

      Sam

      How to add modules

      learning how to use browser developers window for css changes

      K 1 Reply Last reply Dec 25, 2023, 1:37 AM Reply Quote 0
      • K Offline
        KristjanESPERANTO Module Developer @sdetweil
        last edited by KristjanESPERANTO Dec 25, 2023, 1:37 AM Dec 25, 2023, 1:37 AM

        if you open the developers window console tab view, do you see any errors. this module is all in browser

        Unfortunately, I can’t see any errors there.

        Initializing MagicMirror².
        translator.js:122 Loading core translation file: translations/en.json
        VM4 sandbox_bundle:2 Electron Security Warning (Insecure Content-Security-Policy) This renderer process has either no Content Security
          Policy set or a policy with "unsafe-eval" enabled. This exposes users of
          this app to unnecessary security risks.
        
        For more information and help, consult
        https://electronjs.org/docs/tutorial/security.
        This warning will not show up
        once the app is packaged.
        warnAboutInsecureCSP @ VM4 sandbox_bundle:2
        translator.js:138 Loading core translation fallback file: translations/en.json
        loader.js:165 Load script: modules/default/clock/clock.js
        module.js:484 Module registered: clock
        loader.js:138 Bootstrapping module: clock
        loader.js:165 Load script: vendor/node_modules/moment/min/moment-with-locales.js
        loader.js:165 Load script: vendor/node_modules/moment-timezone/builds/moment-timezone-with-data.js
        loader.js:165 Load script: vendor/node_modules/suncalc/suncalc.js
        loader.js:142 Scripts loaded for: clock
        loader.js:180 Load stylesheet: modules/default/clock/clock_styles.css
        loader.js:145 Styles loaded for: clock
        loader.js:148 Translations loaded for: clock
        loader.js:165 Load script: modules/MMM-YouTubeWebView/MMM-YouTubeWebView.js
        module.js:484 Module registered: MMM-YouTubeWebView
        loader.js:138 Bootstrapping module: MMM-YouTubeWebView
        loader.js:142 Scripts loaded for: MMM-YouTubeWebView
        loader.js:145 Styles loaded for: MMM-YouTubeWebView
        loader.js:148 Translations loaded for: MMM-YouTubeWebView
        loader.js:180 Load stylesheet: css/custom.css
        clock.js:49 Starting module: clock
        module.js:45 Starting module: MMM-YouTubeWebView
        main.js:608 All modules started!
        
        1 Reply Last reply Reply Quote 0
        • M Offline
          mmmmh Project Sponsor @doctorwhen
          last edited by Feb 10, 2025, 12:00 PM

          @doctorwhen Is there a way to control a video’s volume? I embedded the ISS’s livestream and I would like to mute it since every once in a while some radio chatter is on the audio channel. When I have the module hidden it is kinda eerie.

          K 1 Reply Last reply Feb 10, 2025, 2:27 PM Reply Quote 0
          • K Offline
            KristjanESPERANTO Module Developer @mmmmh
            last edited by Feb 10, 2025, 2:27 PM

            @mmmmh MMM-ISS-Live has a mute option.

            M 1 Reply Last reply Feb 10, 2025, 3:17 PM Reply Quote 0
            • M Offline
              mmmmh Project Sponsor @KristjanESPERANTO
              last edited by Feb 10, 2025, 3:17 PM

              @KristjanESPERANTO Now that’s a whole new approach. Thanks, it works!

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