Because with speed changing the time also changes for Flash playback, a different way to calculate the current time is needed than for HTML5 playback. I have added conditions for Flash and HTML5 video, and put old method of calculating time for Flash. I have tested it on the YouTube video ZwkTiUPN0mg. Both HTML5 mode and Flash mode have proper video-captions syncing with this fix. NOTE: to view YouTube video in Flash mode you either have to use an old browser (ex. Firefox version 18) or hard code in source that state.currentPlayerMode = 'flash' (in function _setPlayerMode(), file 01_initialize.js).
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
contentstore | Loading commit data... | |
css | Loading commit data... | |
js | Loading commit data... | |
modulestore | Loading commit data... | |
open_ended_grading_classes | Loading commit data... | |
templates | Loading commit data... | |
tests | Loading commit data... | |
util | Loading commit data... | |
__init__.py | Loading commit data... | |
abtest_module.py | Loading commit data... | |
annotatable_module.py | Loading commit data... | |
backcompat_module.py | Loading commit data... | |
capa_module.py | Loading commit data... | |
combined_open_ended_module.py | Loading commit data... | |
conditional_module.py | Loading commit data... | |
course_module.py | Loading commit data... | |
crowdsource_hinter.py | Loading commit data... | |
discussion_module.py | Loading commit data... | |
editing_module.py | Loading commit data... | |
error_module.py | Loading commit data... | |
errortracker.py | Loading commit data... | |
exceptions.py | Loading commit data... | |
fields.py | Loading commit data... | |
foldit_module.py | Loading commit data... | |
graders.py | Loading commit data... | |
gst_module.py | Loading commit data... | |
hidden_module.py | Loading commit data... | |
html_checker.py | Loading commit data... | |
html_module.py | Loading commit data... | |
mako_module.py | Loading commit data... | |
peer_grading_module.py | Loading commit data... | |
plugin.py | Loading commit data... | |
poll_module.py | Loading commit data... | |
progress.py | Loading commit data... | |
randomize_module.py | Loading commit data... | |
raw_module.py | Loading commit data... | |
seq_module.py | Loading commit data... | |
static_content.py | Loading commit data... | |
stringify.py | Loading commit data... | |
template_module.py | Loading commit data... | |
templates.py | Loading commit data... | |
timeinfo.py | Loading commit data... | |
timelimit_module.py | Loading commit data... | |
vertical_module.py | Loading commit data... | |
video_module.py | Loading commit data... | |
word_cloud_module.py | Loading commit data... | |
wrapper_module.py | Loading commit data... | |
x_module.py | Loading commit data... | |
xml_module.py | Loading commit data... |