Skip to content

Commit

Permalink
Fixed video preloading on Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
brianchirls committed Oct 3, 2011
1 parent ee873b2 commit 3fd5f69
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/remixer.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ jQuery(function($){

actualVideo = document.createElement('video');
actualVideo.id = 'newVideo';
actualVideo.preload = true;
actualVideo.preload = 'auto';

src = document.createElement('source');
src.setAttribute('src', videoSrc.replace(regex, '.mp4'));
Expand All @@ -149,7 +149,7 @@ jQuery(function($){

actualAudio = document.createElement('video');
actualAudio.id = 'newAudio';
actualAudio.preload = true;
actualAudio.preload = 'auto';
actualAudio.style.display = 'none';

src = document.createElement('source');
Expand Down

0 comments on commit 3fd5f69

Please sign in to comment.