{"id":20630945,"url":"https://github.com/dtube/embed","last_synced_at":"2025-09-05T18:49:34.489Z","repository":{"id":51112006,"uuid":"104694312","full_name":"dtube/embed","owner":"dtube","description":"Embed player for D.Tube","archived":false,"fork":false,"pushed_at":"2022-07-21T00:04:05.000Z","size":675,"stargazers_count":76,"open_issues_count":13,"forks_count":58,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-04-15T18:48:47.854Z","etag":null,"topics":["dtube","embed","player","video","videojs"],"latest_commit_sha":null,"homepage":"https://d.tube/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dtube.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-09-25T02:27:35.000Z","updated_at":"2025-04-09T07:25:23.000Z","dependencies_parsed_at":"2022-08-23T16:50:36.328Z","dependency_job_id":null,"html_url":"https://github.com/dtube/embed","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dtube/embed","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtube%2Fembed","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtube%2Fembed/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtube%2Fembed/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtube%2Fembed/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dtube","download_url":"https://codeload.github.com/dtube/embed/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dtube%2Fembed/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268338008,"owners_count":24234538,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["dtube","embed","player","video","videojs"],"created_at":"2024-11-16T14:10:08.724Z","updated_at":"2025-08-02T05:08:01.552Z","avatar_url":"https://github.com/dtube.png","language":"JavaScript","readme":"# DTube Embed Player\n\nThis is the main video player of d.tube. It is hosted directly on github pages for simplicity. You can pass options to the player through the url hash fragment:\n\nThe syntax is as follow `/#!/author/permlink/autoplay/branding`\n\n* Author: the steem username of the account associated with the content\n* Permlink: the permlink of the steem content, or 'live' for the user livestream\n* Autoplay: true/false, default to false. If true, the video will start playing without click\n* Modest Branding: true/false, default to false. If true, the DTube logo will be hidden\n\nThere are also two optional arguments which can be attached to the url if needed:\n\n`/#!/author/permlink/autoplay/branding/provider/additionalOptions`\n\n* provider: Can be used to specify a provider the player should use. For a list of supported providers see below. Can be set to `default` use the recommended settings.\n* additionalOptions: This is a URL-style key-value string which can be used to pass additional preferences to the player. For a list of currently implemented options see below.\n\n## Examples\n \n[https://emb.d.tube/#!/elsiekjay/QmQXCBVvVn6WRCuxV3K2FoYLX6F98TvWYPorJEdEyz7VPr/true](https://emb.d.tube/#!/elsiekjay/QmQXCBVvVn6WRCuxV3K2FoYLX6F98TvWYPorJEdEyz7VPr/true) -\u003e will autoplay and keep dtube branding\n\nAutoplay is not always going to happen. It depends on the media engagement, see chrome://media-engagement\n\n[https://emb.d.tube/#!/elsiekjay/QmQXCBVvVn6WRCuxV3K2FoYLX6F98TvWYPorJEdEyz7VPr/true/false/default/loop=true](https://emb.d.tube/#!/elsiekjay/QmQXCBVvVn6WRCuxV3K2FoYLX6F98TvWYPorJEdEyz7VPr/true/default/loop=true) -\u003e will autoplay, keep dtube branding and also loop at the end, whilest using the recommended provider\n\n\n## Supported Providers\n\nFirst-Party: \n\n* IPFS\n* BTFS\n* Skynet\n\nThird-Party:\n\n* Twitch\n* Dailymotion\n* Instagram\n* LiveLeak\n* Vimeo\n* Facebook\n* YouTube\n\n## Additional Options\n\n| Key    | Value                 | Explanation                               |\n|--------|-----------------------|-------------------------------------------|\n| loop   | `true` / `false`      | Makes the video loop at the end. Currently not supported for: Twitch, Dailymotion, Instagram, LiveLeak and Facebook |\n\n## JavaScript API\n\nThe embedded player can be controlled using JavaScript in compliance with the [Player.js specification](https://github.com/embedly/player.js/blob/master/SPEC.rst). You can use [Player.js](https://github.com/embedly/player.js#playerjs) as a library to control the player.\n\nSimply load the Player.js library:\n```html\n\u003cscript type=\"text/javascript\" src=\"//cdn.embed.ly/player-0.1.0.min.js\"\u003e\u003c/script\u003e\n```\n\nAfter this you can initialize the library using the ID of the iframe:\n\n```javascript\nconst player = new playerjs.Player('your-iframe');\n```\n\nYou can then call a variety of methods suchs as `player.play()` or `player.setVolume(20)`.\n\nFor a full list of methods see: https://github.com/embedly/player.js#methods\n\nFor a full list of events see: https://github.com/embedly/player.js#events\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtube%2Fembed","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdtube%2Fembed","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdtube%2Fembed/lists"}