Skip to content
Snippets Groups Projects
Commit 8f2fbdbb authored by Richard Alam's avatar Richard Alam
Browse files

Merge pull request #172 from SenecaCDOT-BigBlueButton/look-into-time-code

custom start time of recording now works in firefox
parents 33e7efe2 e6a93de0
No related branches found
No related tags found
No related merge requests found
......@@ -435,6 +435,13 @@ svgobj.addEventListener('load', function() {
p.on('loadeddata', function() {
p.currentTime(defineStartTime());
});
// Sometimes media has already loaded before our loadeddata listener is
// attached. If the media is already past the loadeddata stage then we
// trigger the event manually ourselves
if ($('#video')[0].readyState > 0) {
p.emit('loadeddata');
}
}, false);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment