You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For the <iframe/> itself, we need the width and height, but we can calculate this if we have two of the three values - if we have all three, we ignore ratio.
This begs an internal function:
get_width_height<-function(width, height, ratio) {
# validate ratioif (is.null(width) && is.null(height)) {
stop() # no can do
}
if (is.null(width)) {
width<- round(height*ratio)
}
if (is.null(height)) {
height<- round(width/ratio)
}
list(width=width, height=height)
}
Source : #33 (comment)
Raised Issue for Enhancement
How to make the embed video auto-resize when the browser screen width/height resize.
With regards
rmarkdown
, let say embed multiple videos byhtml
as below, there can be ordered in one line...but use
vembedr
onrmarkdown
...The text was updated successfully, but these errors were encountered: