Permalink
Browse files

Merge pull request #15 from bkw/divAttribs

fix for parsing div arguments
  • Loading branch information...
2 parents b2f1626 + 01505bc commit 8d2977bc7d2e8a4a429b66c328423fecdae3e002 @mbebenita committed Oct 20, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 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);

0 comments on commit 8d2977b

Please sign in to comment.