From e1a424293650458f960428e986cfaa7e03aeba74 Mon Sep 17 00:00:00 2001 From: Brian Whitton Date: Mon, 27 Nov 2017 18:51:38 -0500 Subject: [PATCH] include event in granular state changes include the `event` object in the more granular `playing`, `paused`, etc calls so users can use the player API on those specific events. --- addon/components/ember-youtube.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addon/components/ember-youtube.js b/addon/components/ember-youtube.js index 7c9924d..b1323a9 100644 --- a/addon/components/ember-youtube.js +++ b/addon/components/ember-youtube.js @@ -158,7 +158,7 @@ export default Ember.Component.extend({ debug(state); } // send actions outside - this.sendAction(state); + this.sendAction(state, event); this.sendAction('playerStateChanged', event); // send actions inside this.send(state);