Skip to content
A mobile application for Khan Academy.
JavaScript CSS
Find file
Latest commit 723473e Mar 7, 2014 @kamens kamens Fix one of our video progress iOS bugs, this one triggered by play/pa…
…use/ended events when switching between videos.

Since we recently switched to not reloading the entire video page when switching between videos, we haven't been hooking up appropriate events to the video player when switching. This means that if you load Video A, then switch to Video B, when you click on Start/Pause/Scrub on Video B you actually are sending /api/.../log events for Video A.

This was one of the sources of 'I just watched a video and no progress icons updated' ... but I don't think it's the only source.

...but no longer. I'd put an exclamation mark there if I knew how to escape it in my shell, but I can just never remember.

Test Plan:
On iPad
Log in
Load Video A
Switch to Video B
Click play, wait a few seconds, click pause
Verify that the progress icon for Video B immediately fills in

Reviewers: laura, alpert

Reviewed By: alpert

CC: mgp

Differential Revision:
Failed to load latest commit information.
exercises @ d18df13 Improve formatting of answer area. Fixes #110. Fixes #113. Sep 22, 2011
img Remove some images (to move to parent project media folder) Jun 18, 2013
js Fix one of our video progress iOS bugs, this one triggered by play/pa… Mar 7, 2014
.gitignore Add in a separate file for testing (hidden behind gitignore). Remove … Jun 29, 2011
index.html Unisubs now returns milliseconds Nov 27, 2012
Something went wrong with that request. Please try again.