Normalize MediaError's with iOS

This commit is contained in:
macdonst
2011-10-19 15:22:50 -04:00
parent 369d140040
commit 551f0f7e4a
2 changed files with 16 additions and 18 deletions

View File

@@ -84,6 +84,7 @@ var MediaError = function() {
this.message = "";
};
MediaError.MEDIA_ERR_NONE_ACTIVE = 0;
MediaError.MEDIA_ERR_ABORTED = 1;
MediaError.MEDIA_ERR_NETWORK = 2;
MediaError.MEDIA_ERR_DECODE = 3;