Use this code
git fetch # Grab the latest code from the NodeBB repository git checkout v3.x git reset --hard origin/v3.xAnd you will have the latest version without specifying it
https://docs.nodebb.org/configuring/upgrade/
@Madchatthew no, you just need to be in NodeBB root
This is a nice embed plugin but…the size of the embed is very small. I used one in the past that was bigger but cannot remember which one
@Sampo2910 nothing that CSS can’t fix
@phenomlab I have the exact same issue.
@phenomlab Can you enlighten me with some please
Not in my skill set.
@Sampo2910 @jac you just need to target the iframe
itself (be aware that this will affect all other iframes, so you may want to be more specific if need be). Something like this will work - just play with the height
and width
values to get the desired result.
iframe {
height: 400px;
width: 400px;
}
@phenomlab Perfect …Thank you.
@phenomlab said in Test of youtube embeds:
be aware that this will affect all other iframes, so you may want to be more specific
Is there a way that we can only be specific to this embed?
@Sampo2910 yes, you could try
iframe[src*="youtube"] {
height: 400px;
width: 400px;
}
This is of course an example that looks for “youtube” in the src
string. You’d need to adapt it as necessary. The only other way possible here would be to assign a div
ID to the container but that would require a change to the underlying plugin code.
If you need to apply this to mobile only views, it’ll be to be
@media (max-width: 767px) {
iframe {
height: 370px;
width: 360px !important;
}
}
@phenomlab Perfect!!! Many thanks.