{"id":13734201,"url":"https://github.com/ijlyttle/vembedr","last_synced_at":"2025-06-20T05:33:44.860Z","repository":{"id":8575369,"uuid":"58833249","full_name":"ijlyttle/vembedr","owner":"ijlyttle","description":"Functions to Embed Video in HTML","archived":false,"fork":false,"pushed_at":"2021-12-11T21:47:54.000Z","size":5999,"stargazers_count":58,"open_issues_count":10,"forks_count":5,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-06-11T14:22:54.692Z","etag":null,"topics":["box","embed-videos","r","rmarkdown","shiny","vimeo","youtube"],"latest_commit_sha":null,"homepage":"https://ijlyttle.github.io/vembedr","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ijlyttle.png","metadata":{"files":{"readme":"README.Rmd","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-05-14T22:29:15.000Z","updated_at":"2025-05-13T07:10:08.000Z","dependencies_parsed_at":"2022-08-03T04:30:34.453Z","dependency_job_id":null,"html_url":"https://github.com/ijlyttle/vembedr","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/ijlyttle/vembedr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlyttle%2Fvembedr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlyttle%2Fvembedr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlyttle%2Fvembedr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlyttle%2Fvembedr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ijlyttle","download_url":"https://codeload.github.com/ijlyttle/vembedr/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ijlyttle%2Fvembedr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259843200,"owners_count":22920295,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["box","embed-videos","r","rmarkdown","shiny","vimeo","youtube"],"created_at":"2024-08-03T03:00:53.435Z","updated_at":"2025-06-20T05:33:39.842Z","avatar_url":"https://github.com/ijlyttle.png","language":"HTML","funding_links":[],"categories":["UI Components"],"sub_categories":["Image / Audio / Video"],"readme":"---\noutput: \n  github_document\n---\n\n# vembedr\n\n  \u003c!-- badges: start --\u003e\n  [![CRAN_Status_Badge](https://www.r-pkg.org/badges/version/vembedr)](https://cran.r-project.org/package=vembedr)\n  [![R-CMD-check](https://github.com/ijlyttle/vembedr/workflows/R-CMD-check/badge.svg)](https://github.com/ijlyttle/vembedr/actions)\n  \u003c!-- badges: end --\u003e\n  \n```{r, echo = FALSE}\nlibrary(\"htmltools\")\nlibrary(\"vembedr\")\n\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"README-\"\n)\n```\n\nThe goal of vembedr is to make it a little bit easier for you to embed videos into your **RMarkdown** documents and your **Shiny** apps;\nthese services are supported:\n\n- YouTube \n- Vimeo\n- Box\n- Microsoft Stream\n\n## New to version 0.1.5\n\n- updated internal implementation to comport with latest Pandoc. \n  ([#52](https://github.com/ijlyttle/vembedr/pull/52), thanks [\\@jnolis](https://github.com/jnolis)!)\n- deprecated Microsoft Channel 9 (including UserR! 2016 \u0026 2017), as [Channel 9 has been moved](https://docs.microsoft.com/en-us/teamblog/channel9joinedmicrosoftlearn).\n  ([#54](https://github.com/ijlyttle/vembedr/pull/54))\n  \n## Installation\n\nYou can install the latest released version from CRAN with:\n\n```{r eval=FALSE}\ninstall.packages(\"vembedr\")\n```\n\nor the latest development version from GitHub with:\n\n```{r eval=FALSE}\n# install.packages(\"devtools\")\ndevtools::install_github(\"ijlyttle/vembedr\")\n```\n\n## Documentation\n\nThis project supports two documentation-websites, built using [pkgdown](https://pkgdown.r-lib.org):\n\n- [CRAN version](https://ijlyttle.github.io/vembedr/)\n- latest [developent version](https://ijlyttle.github.io/vembedr/dev/) from GitHub\n\n### Usage\n\nThe most useful function might be `embed_url()`. \nIf the URL is from one of the supported services, it will do the right thing:\n\n```r\nlibrary(\"vembedr\")\n\nembed_url(\"https://www.youtube.com/watch?v=uV4UpCq2azs\")\n```\n\nThe video is not embedded in this README file as is rendered to Markdown; to see embedded videos, please see `vignette(\"vembedr\")`. Each of the supported services, e.g. YouTube, is discussed in `vignette(\"embed\")`. \n\nThe functions are designed to be piped. \nFor example, here's how you can modify the appearance and the start time:\n\n```r\nembed_url(\"https://www.youtube.com/watch?v=uV4UpCq2azs\") %\u003e%\n  use_start_time(\"1m32\") %\u003e%\n  use_align(\"center\")\n```\n\nTo see these functions in action, see `vignette(\"modify\")`.\n\n### Caveats\n\n - Be aware that, due to licensing issues, not all videos will play when embedded at a different site (like your HTML document).\n\n - The RStudio viewer will embed YouTube and Vimeo videos, but not others. \n   Videos from all services should be rendered as you expect in a browser like Chrome.\n   \n - Some of the formatting, e.g. rounded corners, does not render on mobile sites.\n\n## Code of Conduct\n\nPlease note that the vembedr project is released with a [Contributor Code of Conduct](https://contributor-covenant.org/version/2/0/CODE_OF_CONDUCT.html). By contributing to this project, you agree to abide by its terms.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijlyttle%2Fvembedr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fijlyttle%2Fvembedr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fijlyttle%2Fvembedr/lists"}