CodePen

HTML

            
              
            
          
!
via HTML Inspector

CSS

            
              
            
          
!
? ?
? ?
Must be a valid URL.
+ add another resource
via CSS Lint

JS

            
              function playMusic() {
	if (my_audio === null) { // play existing media recorded from previous session
		
		// the existing medail should be on /sdcard/ for android. 
        if (phoneCheck.android) {
        	my_audio = new Media("/sdcard/" + mediaRecFile, onMediaCallSuccess, onMediaCallError);

            console.log("***test:  Open file:" + mediaRecFile);
        } 
        else if (phoneCheck.ios) {
            my_audio = new Media(mediaFileFullName, onMediaCallSuccess, onMediaCallError);
        }
    }
    ... ...
}

            
          
!
Must be a valid URL.
+ add another resource
via JS Hint
Loading ..................