diff interfaces/blank.js @ 2113:d2abe3b139d2

Interfaces report error if audio cannot be loaded/decoded/played
author Nicholas Jillings <nickjillings@users.noreply.github.com>
date Mon, 22 Feb 2016 15:48:28 +0000
parents c277da1e89ca
children 124e6c702845
line wrap: on
line diff
--- a/interfaces/blank.js	Mon Feb 22 15:05:39 2016 +0000
+++ b/interfaces/blank.js	Mon Feb 22 15:48:28 2016 +0000
@@ -57,6 +57,9 @@
 		// Use storage.document.createElement('value'); to generate the XML node.
 		
 	};
+    this.error = function() {
+        // If there is an error with the audioObject, this will be called to indicate a failure
+    }
 };
 
 function resizeWindow(event)