Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
make firefox compatible
  • Loading branch information
ericz committed Jul 25, 2012
1 parent f210485 commit 7b95df7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion doc/start.md
Expand Up @@ -104,7 +104,7 @@ client.on('stream', function(stream, meta){
}); });
stream.on('end', function(){ stream.on('end', function(){
var img = document.createElement("img"); var img = document.createElement("img");
img.src =(webkitURL||URL).createObjectURL(new Blob(parts)); img.src = (window.URL || window.webkitURL).createObjectURL(new Blob(parts));
document.body.appendChild(img); document.body.appendChild(img);
}); });
}); });
Expand Down
2 changes: 1 addition & 1 deletion examples/helloworld/index.html
Expand Up @@ -15,7 +15,7 @@
stream.on('end', function(){ stream.on('end', function(){
// Display new data in browser! // Display new data in browser!
var img = document.createElement("img"); var img = document.createElement("img");
img.src =(webkitURL||URL).createObjectURL(new Blob(parts)); img.src = (window.URL || window.webkitURL).createObjectURL(new Blob(parts));
document.body.appendChild(img); document.body.appendChild(img);
}); });
}); });
Expand Down

0 comments on commit 7b95df7

Please sign in to comment.