Hi,
great tool. I am testing it to record several (more than 100) short sentences one after the other. Two questions:
1) Is it possible to omit the 'Stop'-button before uploading? Meaning: When the recording is done, can I upload the file without having to stop the recording? This would speed up recording.
2) After sucessfull upload, I would like to proceed to a next recording automatically. So, how to open a next page (with recording facility) after upload without clicking on a link or something?
Thank you very much indeed for you work,
Peter
Customization
Started by Guest_Peter_*, Oct 20 2007 10:10 PM
2 replies to this topic
#1 Guest_Peter_*
Posted 20 October 2007 - 10:10 PM
#2
Posted 22 October 2007 - 12:44 PM
QUOTE
1) Is it possible to omit the 'Stop'-button before uploading? Meaning: When the recording is done, can I upload the file without having to stop the recording? This would speed up recording.
Yes, it is possible. Look on the source code of example web page record_app_mp3_JS.php . Find
function STOP_RP() {
document.RPApplet.STOP_RP();
}
function UPLOAD_RP() {
document.RPApplet.UPLOAD(String(document.Gui_RP.FileName.value));
}
JavaScript function STOP_RP() calls STOP_RP() applet method. If you will call this method in the function UPLOAD_RP() before calling UPLOAD applet method, then if user will push Upload button, applet will stop recording and start to upload audio file to server. example web page record_app_mp3_JS.php
QUOTE
2) After successful upload, I would like to proceed to a next recording automatically. So, how to open a next page (with recording facility) after upload without clicking on a link or something?
Find in the source code of example web page record_app_mp3_JS.php function fileLoaded()
{
alert("file loaded!");
}
It passes "file loaded!" message to pop-up window after audio file uploaded. You can program other action instead of this message. I hope you understand me.
#3
Posted 23 October 2007 - 11:47 AM
Peter,
sorry, I forgotten to explain you some details.
After you called document.RPApplet.STOP_RP() applet method, you have to get "Stopped" message from applet ( it passed into status line).
Then, if "Stopped" is received, you can start to upload.
We will prepare for you the example web page with functionality which you want and send to you. Send me email message to info@vimas.com and I will reply you.
sorry, I forgotten to explain you some details.
After you called document.RPApplet.STOP_RP() applet method, you have to get "Stopped" message from applet ( it passed into status line).
Then, if "Stopped" is received, you can start to upload.
We will prepare for you the example web page with functionality which you want and send to you. Send me email message to info@vimas.com and I will reply you.
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












