Read the statement by Michael Teeuw here.
Issue with setting height as a percentage
-
I am trying to set the height of MMM-EmbedYoutube to 75% but when I do it uses the default 315px as specified in the modules configuration. If I use a 750 as the height it works fine. I can specify width with a percentage, but not height. Any help is appreciated.
-
@zack949 said in Issue with setting height as a percentage:
I am trying to set the height of MMM-EmbedYoutube to 75% but when I do it uses the default 315px as specified in the modules configuration. If I use a 750 as the height it works fine. I can specify width with a percentage, but not height. Any help is appreciated.
'hey did you find a solution of this problem . I need to fix the same issue
-
@Hualm the module is expecting the number of pixels high and wide.
and hard codes that into the iframe tag properties.
I don’t know if u can override that w css
in custom.css.MMM-EmbedYoutube iframe { height: 75%; width: 75%; }
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login