{"action":"closed","issue":{"url":"https://api.github.com/repos/videojs/video.js/issues/1485","labels_url":"https://api.github.com/repos/videojs/video.js/issues/1485/labels{/name}","comments_url":"https://api.github.com/repos/videojs/video.js/issues/1485/comments","events_url":"https://api.github.com/repos/videojs/video.js/issues/1485/events","html_url":"https://github.com/videojs/video.js/issues/1485","id":41997121,"number":1485,"title":"Change techs to emit events instead of triggering them on the player","user":{"login":"heff","id":166,"avatar_url":"https://avatars.githubusercontent.com/u/166?v=3","gravatar_id":"","url":"https://api.github.com/users/heff","html_url":"https://github.com/heff","followers_url":"https://api.github.com/users/heff/followers","following_url":"https://api.github.com/users/heff/following{/other_user}","gists_url":"https://api.github.com/users/heff/gists{/gist_id}","starred_url":"https://api.github.com/users/heff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heff/subscriptions","organizations_url":"https://api.github.com/users/heff/orgs","repos_url":"https://api.github.com/users/heff/repos","events_url":"https://api.github.com/users/heff/events{/privacy}","received_events_url":"https://api.github.com/users/heff/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/videojs/video.js/labels/confirmed","name":"confirmed","color":"00CC00"},{"url":"https://api.github.com/repos/videojs/video.js/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/videojs/video.js/milestones/5","html_url":"https://github.com/videojs/video.js/milestones/Techs%202.0","labels_url":"https://api.github.com/repos/videojs/video.js/milestones/5/labels","id":640739,"number":5,"title":"Techs 2.0","description":"The MediaTechnologyControllers a.k.a \"techs\" could use some revamping and documenting. This milestone will collect those issues.","creator":{"login":"heff","id":166,"avatar_url":"https://avatars.githubusercontent.com/u/166?v=3","gravatar_id":"","url":"https://api.github.com/users/heff","html_url":"https://github.com/heff","followers_url":"https://api.github.com/users/heff/followers","following_url":"https://api.github.com/users/heff/following{/other_user}","gists_url":"https://api.github.com/users/heff/gists{/gist_id}","starred_url":"https://api.github.com/users/heff/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/heff/subscriptions","organizations_url":"https://api.github.com/users/heff/orgs","repos_url":"https://api.github.com/users/heff/repos","events_url":"https://api.github.com/users/heff/events{/privacy}","received_events_url":"https://api.github.com/users/heff/received_events","type":"User","site_admin":false},"open_issues":8,"closed_issues":3,"state":"open","created_at":"2014-04-25T20:01:33Z","updated_at":"2015-05-06T18:02:59Z","due_on":null,"closed_at":null},"comments":0,"created_at":"2014-09-04T23:20:42Z","updated_at":"2015-05-06T18:02:59Z","closed_at":"2015-05-06T18:02:59Z","body":"We currently have a mixed model where the player sets/gets properties on a tech while the tech triggers events on the player. It would be a big change (so tech 2.0/ vjs 5.0) but I think it would make the definition of a tech much cleaner if the player instead listened for tech events. Open to other thoughts on that.\r\n\r\nRelated: #863 #1194 "}}