   (componentWillReceiveProps [this _] (om/set-state! this {:reported? false}))
 
   (render [this]
-    (let [{:keys [lesson/description lesson/topic youtube/id] :as props} (om/props this)]
+    (let [{:keys [lesson/description lesson/topic youtube/id ph/pagination]} (om/props this)]
       (container
         (dom/div #js {:className "row"}
           (dom/div #js {:className "span3"}

          (om/transact! r [type id] [`(ui/set-props {:exercise/data ~ident})])))))

  (render [this]
    (let [{:keys [lesson/topic url/slug exercise/data]} (om/props this)
          {:keys [::ux/class]} (ux/slug->exercise slug)]
      (container
        (dom/div #js {:className "row"}

                (ytp/youtube-player (om/computed {:videoId id}
                                                 {:on-state-change #(if %2 (report-video-play this))})))
              (dom/div #js {:className "well"}
                description))
            (lesson-pagination pagination)))))))

(def lesson-video (om/factory LessonVideo))

