Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hows to see only webcam video ? #8

Open
tet102 opened this issue Dec 1, 2017 · 2 comments
Open

Hows to see only webcam video ? #8

tet102 opened this issue Dec 1, 2017 · 2 comments

Comments

@tet102
Copy link

tet102 commented Dec 1, 2017

I try to show on my MMirror only webcam video of eiffel tower by this website:
http://www.citycams.tv/en/france/paris-eiffel-tower/
But if I write in my config.js
url: "http://www.citycams.tv/en/france/paris-eiffel-tower/"
it's not correct, cause MM shows me all the Web page.
But i just want to see the window of live Webcam Eiffel Tower.
Somebody have an idea please ?

@tet102 tet102 changed the title How to keep Hows to see only webcam video ? Dec 1, 2017
@chassain
Copy link

chassain commented Dec 2, 2017

hello friend,

For example webcam video on youtube.
See "share" or "partager" video ---> "integrate" or "intégrer" and copy code iframe. Arrange the code for your module :

<iframe width="560" height="315" src="https://www.youtube.com/embed/n-t4FkqxZz0" frameborder="0" allowfullscreen></iframe>

to
https://www.youtube.com/embed/n-t4FkqxZz0

and put after :
?rel=0&autoplay=1

you have normaly :
https://www.youtube.com/embed/n-t4FkqxZz0?rel=0&amp;autoplay=1

{
module: "MMM-iFrameReload",
position: "left", // This can be any of the regions.
config: {
// See 'Configuration options' for more information.
url: ["https://www.youtube.com/embed/RtU_mdL2vBM?rel=0&autoplay=1"],
width: "200%", // Optional. Default: 100%
height: "400px", //Optional. Default: 100px
refreshInterval: 3600
}

},
{
module: "MMM-iFrameReload",
position: "left", // This can be any of the regions.
config: {
// See 'Configuration options' for more information.
url: ["https://www.youtube.com/embed/n-t4FkqxZz0?rel=0&autoplay=1"],
width: "200%", // Optional. Default: 100%
height: "400px", //Optional. Default: 100px
refreshInterval: 3600
}

},
{
module: "MMM-iFrameReload",
position: "left", // This can be any of the regions.
config: {
// See 'Configuration options' for more information.
url: ["https://www.youtube.com/embed/4iUmg6eN3Yk?rel=0&autoplay=1"], // as many URLs you want or you can just ["ENTER IN URL"] if single URL.
width: "200%", // Optional. Default: 100%
height: "400px", //Optional. Default: 100px
refreshInterval: 3600
}
}

but i would like to put off sound..i'm looking for (cause i'm noob)..

@tet102
Copy link
Author

tet102 commented Dec 2, 2017

Hi my friend...
It's ok thank you for your job , it's work and look at the extract of my config below.
Look that after url: I don't write "[....]".
And be carreful: if you write "width" with % value, you windows will not centered.
I tried "width" with 600px value and "width" with 200% value. The window is not centered on the screen.
Tchussss
{
module: 'MMM-iFrameReload',
position: 'center',
config: {
url: "https://www.youtube.com/embed/n-t4FkqxZz0?rel=0&amp;autoplay=1",
width: "600px",
height: "400px",
refreshInterval: 1000
}
},
{
module: 'MMM-iFrameReload',
position: 'bottom_center',
config: {
url: "https://m.webcam-hd.com/risoul/risoul_front",
width: "600px",
height: "400px",
refreshInterval: 1000
}
},

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants