//Setup voice control
if (tizen.speech)
setupSpeech();
- else
+ else {
console.log("MediaPlayer: Speech Recognition not running, voice control will be unavailable");
+ speechObj = {
+ vocalizeString: function(item) { console.log(item); }
+ };
+ }
audioPlayer = new MediaPlayer("audio");
videoPlayer = new MediaPlayer("video");