updates repository and GitHub actions to reflect default git
branch is now main. (#55)
updates <iframe> implementation to keep up
with pandoc, see rstudio/rmarkdown#2255.
(#52, @jnolis)
version bump for development.
suggest_embed() will copy the suggested code to your
clipboard. (#32)height to 300 pixels, and introduces
an argument ratio, to set the aspect ratio; legal values
are "16by9" or "4by3". If you set the
width and height, ratio is
ignored. If you specify only one of width or
height, ratio is used to calculate the other.
(#33)embed_*() functions:
use_rounded() lets you specify rounded corners. (#25,
with @koncina and
@ginolhac)use_align() lets you specify a horizontal
alignment.use_bs_responsive() if your ‘HTML’ page includes Twitter
Bootstrap 3, use this function to make your
<iframe/> responsive. In this case, the
ratio is used, width and height
are ignored. (#13)embed_box() function (#28)hms() and secs() in favor of
use_start_time() (#24)embed_user2017(): embed videos from
UseR!2017embed_url(): given a URL, build the
<iframe/> to embed the videosuggest_embed(): given a URL, provides suggested
code to embed videoallow_full_screen argumentrickroll_channel9(), stretches definition of
rickrollingallow_full_screen argument to embed
functions in favor of allowfullscreen - this will be more
consistent with each service’s APIuse_start_time() for constent interface to all
embed functionsembed_channel9() for Microsoft videosembed_user2016()NEWS.md file to track changes to the
package.secs() and query argument to both
embed_vimeo() and embed_youtube().rickroll_vimeo() and
rickroll_youtube().embed_vimeo() and
embed_youtube().