{"id":16273302,"url":"https://github.com/mccarthy-m-g/embedr","last_synced_at":"2025-04-08T16:27:30.001Z","repository":{"id":141464662,"uuid":"256054911","full_name":"mccarthy-m-g/embedr","owner":"mccarthy-m-g","description":"An R package for embedding multimedia files in HTML documents.","archived":false,"fork":false,"pushed_at":"2020-07-09T07:54:56.000Z","size":1063,"stargazers_count":2,"open_issues_count":2,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-14T13:15:15.104Z","etag":null,"topics":["audio","embedding-multimedia-files","html-documents","knitr","pandoc","r","r-package","rmarkdown","video"],"latest_commit_sha":null,"homepage":"","language":"R","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/mccarthy-m-g.png","metadata":{"files":{"readme":"README.Rmd","changelog":"NEWS.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2020-04-15T22:52:44.000Z","updated_at":"2024-06-10T05:14:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"905b076e-ba9b-4769-86d7-78b92675a14a","html_url":"https://github.com/mccarthy-m-g/embedr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mccarthy-m-g%2Fembedr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mccarthy-m-g%2Fembedr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mccarthy-m-g%2Fembedr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mccarthy-m-g%2Fembedr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mccarthy-m-g","download_url":"https://codeload.github.com/mccarthy-m-g/embedr/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247880683,"owners_count":21011709,"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":["audio","embedding-multimedia-files","html-documents","knitr","pandoc","r","r-package","rmarkdown","video"],"created_at":"2024-10-10T18:23:42.970Z","updated_at":"2025-04-08T16:27:29.967Z","avatar_url":"https://github.com/mccarthy-m-g.png","language":"R","funding_links":[],"categories":[],"sub_categories":[],"readme":"---\noutput: github_document\n---\n\n```{r, include = FALSE}\nknitr::opts_chunk$set(\n  collapse = TRUE,\n  comment = \"#\u003e\",\n  fig.path = \"man/figures/README-\",\n  out.width = \"100%\"\n)\n```\n\n# embedr\n\n\u003c!-- badges: start --\u003e\n[![R build status](https://github.com/mccarthy-m-g/embedr/workflows/R-CMD-check/badge.svg)](https://github.com/mccarthy-m-g/embedr/actions)\n\u003c!-- badges: end --\u003e\n  \nAn R package for embedding multimedia files in HTML documents.\n\n## Installation\n\nembedr is not yet available on CRAN but you can install it from this repository:\n\n```r\n# Install devtools package if necessary\nif(!\"devtools\" %in% rownames(installed.packages())) install.packages(\"devtools\")\n\n# Install the stable development version from GitHub\ndevtools::install_github(\"mccarthy-m-g/embedr\")\n```\n\n\u003c!--\nYou can install the released version of embedr from [CRAN](https://CRAN.R-project.org) with:\n\n``` r\ninstall.packages(\"embedr\")\n```\n\nAnd the development version from [GitHub](https://github.com/) with:\n\n``` r\n# install.packages(\"devtools\")\ndevtools::install_github(\"mccarthy-m-g/embedr\")\n```\n--\u003e\n\n## Example\n\nEmbed audio with `embed_audio()`:\n\n```{r audio example, eval=FALSE}\nlibrary(embedr)\n\n# embed .mp3 file\naudio \u003c- \"https://michaelmccarthy.netlify.app/files/embedr/audio-vignette.mp3\"\nembed_audio(audio)\n```\n\nEmbed video with `embed_video()`:\n\n```{r video example, eval=FALSE}\nlibrary(embedr)\n\n# embed .mp4 video\nvideo \u003c- \"https://michaelmccarthy.netlify.app/files/embedr/video-vignette.mp4\"\nembed_video(video, width = \"256\", height = \"256\")\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmccarthy-m-g%2Fembedr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmccarthy-m-g%2Fembedr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmccarthy-m-g%2Fembedr/lists"}