Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #15 from bkw/divAttribs

fix for parsing div arguments
  • Loading branch information...
commit 8d2977bc7d2e8a4a429b66c328423fecdae3e002 2 parents b2f1626 + 01505bc
Michael Bebenita authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 Player/mp4.js
4 Player/mp4.js
View
@@ -906,8 +906,8 @@ var Broadway = (function broadway() {
controls.appendChild(this.info);
div.appendChild(controls);
- var useWorkers = div.attributes.workers ? div.attributes.workers.value == "true" : true;
- var render = div.attributes.render ? div.attributes.render.value == "true" : true;
+ var useWorkers = div.attributes.workers ? div.attributes.workers.value == "true" : false;
+ var render = div.attributes.render ? div.attributes.render.value == "true" : false;
this.player = new MP4Player(new Stream(src), this.canvas, useWorkers, render);
Please sign in to comment.
Something went wrong with that request. Please try again.