Commit c07917d9 by David Ormsbee

Merge pull request #1354 from MITx/feature/ichuang/fix-flashing-background-in-video

fix bug in video player:if from=xx:xx:xx is used then bkgrnd flashes
parents ca28796a c56982e6
...@@ -45,6 +45,7 @@ class @VideoPlayer extends Subview ...@@ -45,6 +45,7 @@ class @VideoPlayer extends Subview
modestbranding: 1 modestbranding: 1
if @video.start if @video.start
@playerVars.start = @video.start @playerVars.start = @video.start
@playerVars.wmode = 'window'
if @video.end if @video.end
# work in AS3, not HMLT5. but iframe use AS3 # work in AS3, not HMLT5. but iframe use AS3
@playerVars.end = @video.end @playerVars.end = @video.end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment