{"action":"closed","issue":{"url":"https://api.github.com/repos/sampotts/plyr/issues/931","repository_url":"https://api.github.com/repos/sampotts/plyr","labels_url":"https://api.github.com/repos/sampotts/plyr/issues/931/labels{/name}","comments_url":"https://api.github.com/repos/sampotts/plyr/issues/931/comments","events_url":"https://api.github.com/repos/sampotts/plyr/issues/931/events","html_url":"https://github.com/sampotts/plyr/issues/931","id":319012888,"number":931,"title":"custom buttons","user":{"login":"francoiscop","id":38867409,"avatar_url":"https://avatars0.githubusercontent.com/u/38867409?v=4","gravatar_id":"","url":"https://api.github.com/users/francoiscop","html_url":"https://github.com/francoiscop","followers_url":"https://api.github.com/users/francoiscop/followers","following_url":"https://api.github.com/users/francoiscop/following{/other_user}","gists_url":"https://api.github.com/users/francoiscop/gists{/gist_id}","starred_url":"https://api.github.com/users/francoiscop/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/francoiscop/subscriptions","organizations_url":"https://api.github.com/users/francoiscop/orgs","repos_url":"https://api.github.com/users/francoiscop/repos","events_url":"https://api.github.com/users/francoiscop/events{/privacy}","received_events_url":"https://api.github.com/users/francoiscop/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-04-30T19:50:34Z","updated_at":"2018-04-30T22:33:23Z","closed_at":"2018-04-30T22:33:23Z","author_association":"NONE","body":"Hello,\r\n\r\nIn the previous version I was able to customize icon, and add my own buttons (like download or quality selector for HTML5 HLS) via the html attribute:\r\nex : \r\n`options.html = [\r\n\"<div class='plyr__controls'>\",\r\n\"<div class='box-buttons'>\",\r\n    \"<button type='button' data-plyr='play'>\",\r\n        \"<svg><use xlink:href='#plyr-play'></use></svg>\",\r\n        \"<span class='plyr__sr-only'>Play</span>\",\r\n    \"</button>\",\r\n    \"<button type='button' data-plyr='pause'>\",\r\n        \"<svg><use xlink:href='#plyr-pause'></use></svg>\",\r\n        \"<span class='plyr__sr-only'>Pause</span>\",\r\n    \"</button>\",\r\n    \"<span class='plyr__progress'>\",\r\n        \"<label for='seek{id}' class='plyr__sr-only'>Seek</label>\",\r\n        \"<input id='seek{id}' class='plyr__progress--seek' type='range' min='0' max='100' step='0.1' value='0' data-plyr='seek'>\",\r\n        \"<progress class='plyr__progress--played' max='100' value='0' role='presentation'></progress>\",\r\n        \"<progress class='plyr__progress--buffer' max='100' value='0'>\",\r\n            \"<span>0</span>% buffered\",\r\n        \"</progress>\",\r\n        \"<span class='plyr__tooltip'>00:00</span>\",\r\n    \"</span>\", ETC ....\r\n];`\r\n\r\nIn the new version (3.2.4), this html attribute doesn't exist anymore!\r\n\r\nWhat is the new way to inject custom buttons ?\r\n\r\nMany thanks for your attention"}}
{"actor":{"display_login":"sampotts"}}