JRecorder not showing on page

I am trying to get jRecorder embedded in my webpage. I added that he adds the http://www.sajithmr.me/jrecorder/index.html document to this page, and when I open the page, it is empty.

The page is as follows:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <script src="jquery.min.js"> </script> <script src="jRecorder.js"> </script> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Untitled Document</title> </head> <body> <div> <script> $.jRecorder( { 'rec_width': '300', 'rec_height': '200', 'rec_top': '0px', 'rec_left': '0px', 'recorderlayout_id' : 'flashrecarea', 'recorder_id' : 'audiorecorder', 'recorder_name': 'audiorecorder', 'wmode' : 'transparent', 'bgcolor': '#ff0000', 'swf_path': 'jRecorder.swf', 'host': 'acceptfile.php?filename=hello.wav', 'callback_started_recording' : function(){}, 'callback_finished_recording' : function(){}, 'callback_stopped_recording': function(){}, 'callback_error_recording' : function(){}, 'callback_activityTime': function(time){}, 'callback_activityLevel' : function(level){} } ); </script> </div> </body> </html> 

Did I do it wrong?

+4
source share
1 answer

Hey about jRecorder, as Miguel says, you need to check your browser compatibility. therefore, if you use chrome or opera or firefox, you will not have any problems with this. but if it is IE8 or 9, it will not work, but with IE10. so what you need to do if you want it to work on IE9, you need to change jRecorder.js, or if you want to download it from https://github.com/capsula4/jRecorder , I think he solved it.

thanks

-1
source

Source: https://habr.com/ru/post/1432164/


All Articles