Read the statement by Michael Teeuw here.
youtube - Embedded YouTube on Your MagicMirror
-
Hi dude,
Thank you for your module, nice job and nice module.
However, i have some suggestions.
Is there a way to NOT put code inside the MMM-remote module. My concern is if I do a git pull of the MMM-remote, I will lose the code I wrote inside? Is the developer of MMM-remote can implement a patch and “link” your module to his?
What do you think about setting an input in the remote.html to load a youtube video (the user will only have to do a copy/paste)
What do you also think of authorizing a user to load a website into an iframe? And if the url starts with “http://www.youtube.com”, load the video. If not just display the web page in an iframe? -
@djo there is a pr in the pipe to switch the id without modifying something, this can be extended so there is no need to modify a module at all
-
Hi @strawberry-3.141 ,
What’s this “pr in the pipe” that you mentioned? Im interested in learning it.
-
Im finding a work around for your request. However, im a little busy with my school and assignments. I’ll look into it once Im free!
-
@broberg This i will try, As it was close to what i want :)
The only thing is that i don´t want to hide the rest of the modules but i will try and see. -
Looks brilliant. Looking forward to trying this out.
Would you be able to change the opacity? -
@zichao92 @strawberry-3-141 @Jopyth what file in the MMM-remote do i need to be edit ? i dont find this line ‘show-all-button’ and also no guide for that here https://github.com/zichao92/youtube under the Configurating Jopyth’s Remote Control module just that it say on line 178 but in what file?
-
@wizz It should be about these lines in
remote.js
. -
@Jopyth Thanks that was more clear now i can go on with testing :)
-
@Jopyth Tested and something is wrong or i am doing something wrong as i start the mirror the video also loads and show directly?