{"id":24893149,"url":"https://github.com/1cgonza/gitbook-plugin-iframely","last_synced_at":"2025-03-27T14:24:45.775Z","repository":{"id":57251165,"uuid":"77710703","full_name":"1cgonza/gitbook-plugin-iframely","owner":"1cgonza","description":"Gitbook plugin for getting any video or iframe card supported by iframely.","archived":false,"fork":false,"pushed_at":"2017-03-06T15:24:25.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-06T16:08:35.387Z","etag":null,"topics":["gitbook-plugin","iframes","video"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/1cgonza.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-30T21:12:43.000Z","updated_at":"2022-08-20T16:45:59.000Z","dependencies_parsed_at":"2022-08-24T16:52:03.334Z","dependency_job_id":null,"html_url":"https://github.com/1cgonza/gitbook-plugin-iframely","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/1cgonza%2Fgitbook-plugin-iframely","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1cgonza%2Fgitbook-plugin-iframely/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1cgonza%2Fgitbook-plugin-iframely/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/1cgonza%2Fgitbook-plugin-iframely/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/1cgonza","download_url":"https://codeload.github.com/1cgonza/gitbook-plugin-iframely/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245860293,"owners_count":20684313,"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":["gitbook-plugin","iframes","video"],"created_at":"2025-02-01T18:32:09.838Z","updated_at":"2025-03-27T14:24:45.749Z","avatar_url":"https://github.com/1cgonza.png","language":"JavaScript","readme":"# Gitbook plugin iframely\n\nGet any video or iframe card supported by [iframely](https://iframely.com). (Vimeo, YouTube, Facebook, Twitter, Instagram, etc)\n\n*If you prefer an option without the need for an API key or depending on creating an account, you can try [gitbook-plugin-noembed](https://github.com/1cgonza/gitbook-plugin-noembed). It has less supported sites than iframely but still has all the popular ones and more.*\n\n## Installation\nAdd \"iframely\" to your plugins in `book.json`.\n\n```js\n{\n  \"plugins\": [\"iframely\"]\n}\n```\n\n## API Key (Required)\nYou need an API key from [iframely](https://iframely.com) (FREE or paid).\nThe free one can get you started and should work for most cases.\n\nOnce you have the key, add it to your `environment variable` or `book.json` when executing gitbook-cli.\nIf both `environment variable` and `book.json` are assigned, it will be prior to use values from `environment variable`.\n\n```sh\n\u003e IFRAMELY_APIKEY=YOUR_IFRAMELY_APIKEY gitbook build\n# or\n\u003e IFRAMELY_APIKEY=YOUR_IFRAMELY_APIKEY gitbook serve\n```\n\n```js\n{\n  \"pluginsConfig\": {\n    \"iframely\": {\n      \"apiKey\": \"YOUR_API_KEY\"\n    }\n  }\n}\n```\n\n## Usage\n- You can use two filters: `iframely` or `video`. *(At the moment they both do exactly the same)*\n- Make sure you wrap your URL around single or double quotes.\n\n```md\n{{ 'https://vimeo.com/31942602' | iframely }}\n\nor\n\n{{ 'https://vimeo.com/31942602' | video }}\n```\n\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1cgonza%2Fgitbook-plugin-iframely","html_url":"https://awesome.ecosyste.ms/projects/github.com%2F1cgonza%2Fgitbook-plugin-iframely","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2F1cgonza%2Fgitbook-plugin-iframely/lists"}