{"name":"Poodll Media Recorder","key":"pmr","version":"1.0.2","instructions":"This allows you to insert a recorder on a page. Note that recordings cannot be saved. This and the Shadow template allow a knowledgable person to make custom recorders from the template system. \n","showatto":"1","showplayers":"0","requirecss":"","requirejs":"/filter/poodll/amd/src/poodll_mediarecorder.js","shim":"","defaults":"mediatype=\"video|audio\",mediaskin=\"standard|shadow|onetwothree|bmr|upload\",mediaskinstyle=\"none\"","amd":"1","body":"
\n","bodyend":"","script":"var params=[];\nparams['widgetid'] = @@AUTOID@@;\nparams['media_timeinterval'] = 2000;\nparams['media_audiomimetype'] = 'audio/webm';//or audio/wav\nparams['media_videorecordertype'] = 'auto';//or mediarec or webp\nparams['media_videocapturewidth'] = 320;\nparams['media_videocaptureheight'] = 240;\nparams['mediatype'] = @@mediatype@@;\nparams['media_skin'] = @@mediaskin@@;\nparams['media_skin_style'] = @@mediaskinstyle@@;\nparams['timelimit'] =0;\nparams['hideupload'] =true;\n\n//prepare strings\nvar poodllstrings= {\"recui_uploading\": \"Uploading\", \"recui_uploadsuccess\": \"Uploaded Successfully\", \"recui_awaitingconversion\": \"Awaiting conversion\", \"recui_record\": \"Record\",\"recui_start\": \"Start\",\"recui_startactivity\": \"Start Activity\", \"recui_testmic\": \"Test Microphone\", \"recui_stop\": \"Stop\",\"recui_play\": \"Play\",\"recui_save\": \"Save\",\"recui_pause\": \"Pause\", \"recui_upload\": \"Upload\",\"recui_readytorecord\": \"Ready to record\",\"recui_recordagain\": \"Record again\"};\n\n//error messages\npoodllstrings['recui_uploaderror'] = '(You cannot really from here)';\npoodllstrings['recui_mediaaborterror'] = 'Something strange happened which prevented the webcam/microphone from being used';\npoodllstrings['recui_medianotallowederror'] = 'The user must allow the browser access to the webcam/microphone';\npoodllstrings['recui_medianotfounderror'] = 'There is no recording device connected or enabled';\npoodllstrings['recui_medianotreadableerror'] = 'Something is preventing the browser from accessing the webcam/microphone';\npoodllstrings['recui_medianotsupportederror'] = 'Your browser type does not support recording over an HTTP connection.';\npoodllstrings['recui_mediaoverconstrainederror'] = 'The current webcam/microphone can not produce a stream with the current requirements';\npoodllstrings['recui_mediasecurityerror'] = 'Your browser type does not support recording over an HTTP connection.';\npoodllstrings['recui_mediatypeerror'] = 'Failed to get stream because no media type was specified.';\npoodllstrings['recui_unsupportedbrowser'] = 'This browser can not record here. Sorry.
Please try Google Chrome on a Desktop PC.';\npoodllstrings['recui_recordorchoose'] = 'Record or Choose';\npoodllstrings['recui_choosefile'] = 'Choose File';\n\nM.str.filter_poodll= poodllstrings;\n\n\nvar pmr= requiredjs_pmr;\npmr.embed('#' + @@AUTOID@@,params);\n ","style":"","dataset":"","datasetvars":"","alternate":"","alternateend":""}