{"id":13612312,"url":"https://github.com/18F/jekyll-oembed","last_synced_at":"2025-04-13T11:31:53.259Z","repository":{"id":56878695,"uuid":"82735360","full_name":"18F/jekyll-oembed","owner":"18F","description":"OEmbed Liquid Tag gem for Jekyll","archived":true,"fork":false,"pushed_at":"2017-03-02T16:30:02.000Z","size":10,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-09T15:13:52.192Z","etag":null,"topics":["jekyll","jekyll-plugin","oembed"],"latest_commit_sha":null,"homepage":"https://rubygems.org/gems/jekyll_oembed","language":"Ruby","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/18F.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-02-21T22:52:07.000Z","updated_at":"2023-04-20T20:58:09.000Z","dependencies_parsed_at":"2022-08-20T22:30:54.290Z","dependency_job_id":null,"html_url":"https://github.com/18F/jekyll-oembed","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/18F%2Fjekyll-oembed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/18F%2Fjekyll-oembed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/18F%2Fjekyll-oembed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/18F%2Fjekyll-oembed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/18F","download_url":"https://codeload.github.com/18F/jekyll-oembed/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248705718,"owners_count":21148582,"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":["jekyll","jekyll-plugin","oembed"],"created_at":"2024-08-01T20:00:27.304Z","updated_at":"2025-04-13T11:31:52.970Z","avatar_url":"https://github.com/18F.png","language":"Ruby","funding_links":[],"categories":["Tags","Ruby"],"sub_categories":[],"readme":"# jekyll-oembed\n\noEmbed plugin for jekyll that creates an `oembed` liquid tag\n\n## Installation\n\n### With bundler\nWithin your project's `Gemfile`, add the following within the `:jekyll_plugins` group:\n\n```ruby\n# Gemfile\ngroup :jekyll_plugins do\n  gem 'jekyll_oembed'\nend\n```\n\n### Standalone\n\nAdd [the code](lib/jekyll_oembed.rb) directly to your `_plugins` directory\nCreate the following plugin in your projects _plugins directory.\n\nIf you do this, you will also need to add [`ruby-oembed`](https://github.com/ruby-oembed/ruby-oembed) to your `Gemfile`\n\n```ruby\n# Gemfile\ngem \"ruby-oembed\"\n```\n\n## Usage\n\nTo use an oembed, simply do the following. Pass the embedded url as plain text, not wrapped in quotes like a string.\n\n```liquid\n  # Correct\n  {% oembed https://www.youtube.com/watch?v=GPUaUgjbbsA %}\n\n  # Incorrect\n  {% oembed \"https://www.youtube.com/watch?v=GPUaUgjbbsA\" %}\n```\n\n`jekyll_oembed` does not support customizing width, height, or adding any attributes directly to the embedded HTML.\n\n\n## Limitations\n\nProtected URLs: some URLs are private. If this is the case, oembed _may_ not function properly\n\n\n## Attribution\n\nThank you to:\n- @vanto for the [plugin code](https://gist.github.com/vanto/1455726) that powers the gem\n- @stereobooster for creating a [different version](https://github.com/stereobooster/jekyll_oembed) of the gem\n\nThis will automatically require all of the gems specified in your Gemfile.\n\n## Resources\n\n- [oEmbed providers](http://www.oembed.com/#section7.1)\n- [`ruby-oembed`](https://github.com/ruby-oembed/ruby-oembed)\n\n\n## Contributing\n1. Fork it\n2. Create your feature branch (`git checkout -b my-new-feature`)\n3. Commit your changes (`git commit -am 'Added some feature'`)\n4. Push to the branch (`git push origin my-new-feature`)\n5. Create new Pull Request\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F18F%2Fjekyll-oembed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F18F%2Fjekyll-oembed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F18F%2Fjekyll-oembed/lists"}