Best Phake code snippet using Recorder
act_19.php
Source:act_19.php
...23 24 <div class="row u-animationFadeDown" ng-show="s_actividad == 2">25 <div class="row-flex">26 <div class="col-flex-sm6 col-flex-md6 col-center">27 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark"> Caw</strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio1" time-limit="120" audio-model="audio_1" on-playback-start="guardarRecord('unt3_mod10_act19a',1)">28 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_1.mp3"></button>29 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>30 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">31 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">32 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>33 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>34 </div>35 </div></span></div>36 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Law </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio2" time-limit="120" audio-model="audio_2" on-playback-start="guardarRecord('unt3_mod10_act19b',2)">37 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_2.mp3"></button>38 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>39 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">40 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">41 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>42 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>43 </div>44 </div></span></div>45 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Low </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio3" time-limit="120" audio-model="audio_3" on-playback-start="guardarRecord('unt3_mod10_act19c',3)">46 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_3.mp3"></button>47 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>48 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">49 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">50 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>51 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>52 </div>53 </div></span></div>54 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Paw </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio4" time-limit="120" audio-model="audio_4" on-playback-start="guardarRecord('unt3_mod10_act19d',4)">55 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_4.mp3"></button>56 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>57 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">58 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">59 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>60 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>61 </div>62 </div></span></div>63 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Pew </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio5" time-limit="120" audio-model="audio_5" on-playback-start="guardarRecord('unt3_mod10_act19e',5)">64 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_5.mp3"></button>65 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>66 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">67 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">68 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>69 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>70 </div>71 </div></span></div>72 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Dawn </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio6" time-limit="120" audio-model="audio_6" on-playback-start="guardarRecord('unt3_mod10_act19f',6)">73 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_6.mp3"></button>74 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>75 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">76 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">77 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>78 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>79 </div>80 </div></span></div>81 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Down </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio7" time-limit="120" audio-model="audio_7" on-playback-start="guardarRecord('unt3_mod10_act19g',7)">82 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_7.mp3"></button>83 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>84 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">85 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">86 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>87 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>88 </div>89 </div></span></div>90 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Sew </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio8" time-limit="120" audio-model="audio_8" on-playback-start="guardarRecord('unt3_mod10_act19h',8)">91 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_8.mp3"></button>92 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>93 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">94 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">95 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>96 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>97 </div>98 </div></span></div>99 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Cow </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio9" time-limit="120" audio-model="audio_9" on-playback-start="guardarRecord('unt3_mod10_act19i',9)">100 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_9.mp3"></button>101 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>102 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">103 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">104 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>105 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>106 </div>107 </div></span></div>108 </div>109 <div class="col-flex-sm6 col-flex-md6 col-center"> 110 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Saw </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio10" time-limit="120" audio-model="audio_10" on-playback-start="guardarRecord('unt3_mod10_act19j',10)">111 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_10.mp3"></button>112 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>113 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">114 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">115 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>116 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>117 </div>118 </div></span></div>119 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Sow (verb) </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio11" time-limit="120" audio-model="audio_11" on-playback-start="guardarRecord('unt3_mod10_act19k',11)">120 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_11.mp3"></button>121 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>122 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">123 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">124 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>125 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>126 </div>127 </div></span></div>128 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Slew </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio12" time-limit="120" audio-model="audio_12" on-playback-start="guardarRecord('unt3_mod10_act19l',12)">129 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_12.mp3"></button>130 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>131 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">132 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">133 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>134 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>135 </div>136 </div></span></div>137 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Slow </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio13" time-limit="120" audio-model="audio_13" on-playback-start="guardarRecord('unt3_mod10_act19m',13)">138 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_13.mp3"></button>139 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>140 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">141 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">142 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>143 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>144 </div>145 </div></span></div>146 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Slaw </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio14" time-limit="120" audio-model="audio_14" on-playback-start="guardarRecord('unt3_mod10_act19n',14)">147 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_14.mp3"></button>148 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>149 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">150 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">151 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>152 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>153 </div>154 </div></span></div>155 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark"> New </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio15" time-limit="120" audio-model="audio_15" on-playback-start="guardarRecord('unt3_mod10_act19o',15)">156 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_15.mp3"></button>157 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>158 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">159 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">160 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>161 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>162 </div>163 </div></span></div>164 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Lawn </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio16" time-limit="120" audio-model="audio_16" on-playback-start="guardarRecord('unt3_mod10_act19p',16)">165 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_16.mp3"></button>166 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>167 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">168 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">169 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>170 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>171 </div>172 </div></span></div>173 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Pawn </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio17" time-limit="120" audio-model="audio_17" on-playback-start="guardarRecord('unt3_mod10_act19q',17)">174 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_17.mp3"></button>175 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>176 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">177 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">178 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>179 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>180 </div>181 </div></span></div>182 <div class="mb10 col-flex mt10 w100"><strong class="u-textColor_4-dark">Own </strong><span class=" c-ngRecorder ml20 mt5" ng-audio-recorder="ng-audio-recorder" id="mainAudio18" time-limit="120" audio-model="audio_18" on-playback-start="guardarRecord('unt3_mod10_act19r',18)">183 <button class="c-btn-Icon u-bgIconListen f-l" ng-audio="unit_3/module_10/assets/audios/act_19_18.mp3"></button>184 <div class="c-ngRecorder-alert" ng-if="recorder.status.isDenied === true">Permission to use your microphone was declined, please refresh this page to grant permission.</div>185 <div class="c-ngRecorder-panel" ng-if="recorder.isAvailable">186 <div class="c-ngRecorder-controls" ng-hide="recorder.status.isDenied === true">187 <button class="c-btn-Icon u-bgIconRecord c-ngRecorder-controls--btnRecord" ng-click="recorder.status.isRecording ? recorder.stopRecord() : recorder.startRecord()" type="button" ng-class="{'btn-primary': !recorder.status.isRecording, 'is-active': recorder.status.isRecording}"><span>{{recorder.status.isRecording ? 'Stop' : 'Start '}} </span><span class="ml10" ng-show="recorder.status.isRecording === false">Recording</span><span class="c-ngRecorder-timer ml10" ng-if="recorder.status.isRecording">{{recorder.elapsedTime <= 60 ? (' 0'+recorder.elapsedTime) : recorder.elapsedTime}} <sub>seg.</sub></span></button>188 <button class="c-btn-Icon c-ngRecorder-controls--btnListen" type="button" ng-class="{'u-bgIconPlay': (recorder.status.isPaused || recorder.status.isStopped), 'u-bgIconPause': recorder.status.isPlaying}" ng-click="recorder.status.isPlaying ? recorder.playbackPause() : recorder.playbackResume()" ng-disabled="recorder.status.isRecording || !recorder.audioModel"><span ng-if="recorder.status.isPaused || recorder.status.isStopped"><span>Send</span></span><span ng-if="recorder.status.isPlaying"><span>pause</span></span></button>189 </div>190 </div></span></div>191 </div>192 </div>193 </div>194 </section>195 </div>196 197 <aside class="template-asideRight o-aside-Item">198 <button class="c-btn-IconAction u-bgIconRefresh" ng-show="s_actividad == 3"></button>199 <button class="c-btn-IconAction u-bgIconCheck" ng-show="s_actividad == 3"></button>200 </aside>201</section>202<footer class="template-footer" ng-controller="CtrlFooter" ng-include="'../ngMaster/footer.php'"></footer>...
RecorderTest.php
Source:RecorderTest.php
...8 * file that was distributed with this source code.9 */10namespace Sonata\CacheBundle\Tests\Invalidation;11use Sonata\CacheBundle\Invalidation\ModelCollectionIdentifiers;12use Sonata\CacheBundle\Invalidation\Recorder;13class Recorder_Model_114{15 public function getCacheIdentifier()16 {17 return 1;18 }19}20class Recorder_Model_221{22 public function getId()23 {24 return 2;25 }26}27class Recorder_Model_328{29 public function getId()30 {31 return 3;32 }33}34class RecorderTest extends \PHPUnit_Framework_TestCase35{36 public function testRecorder()37 {38 $collection = new ModelCollectionIdentifiers(array(39 'Sonata\CacheBundle\Tests\Invalidation\Recorder_Model_1' => 'getCacheIdentifier'40 ));41 $m1 = new Recorder_Model_1();42 $m2 = new Recorder_Model_2();43 $m3 = new Recorder_Model_3();44 $recorder = new Recorder($collection);45 $recorder->push();46 $recorder->add($m1);47 $recorder->push();48 $recorder->add($m1);49 $recorder->add($m2);50 $recorder->add($m2);51 $innerKeys = $recorder->pop();52 $recorder->add($m3);53 $keys = $recorder->pop();54 $this->assertArrayHasKey('Sonata\CacheBundle\Tests\Invalidation\Recorder_Model_1', $innerKeys);55 $this->assertArrayHasKey('Sonata\CacheBundle\Tests\Invalidation\Recorder_Model_2', $innerKeys);56 $this->assertArrayHasKey('Sonata\CacheBundle\Tests\Invalidation\Recorder_Model_1', $keys);57 $this->assertArrayHasKey('Sonata\CacheBundle\Tests\Invalidation\Recorder_Model_3', $keys);58 }59}...
test.php
Source:test.php
1<?php2// $Id: test.php 1500 2007-04-29 14:33:31Z pp11 $3require_once dirname(__FILE__) . '/../../../autorun.php';4require_once(dirname(__FILE__) . '/../../recorder.php');5class TestOfRecorder extends UnitTestCase {6 7 function testContentOfRecorderWithOnePassAndOneFailure() {8 $test = &new TestSuite();9 $test->addTestFile(dirname(__FILE__) . '/sample.php');10 $recorder = new Recorder();11 $test->run($recorder);12 $this->assertEqual(count($recorder->results), 2);13 14 $this->assertEqual(count($recorder->results[0]), 4);15 $this->assertPattern("/".substr(time(), 9)."/", $recorder->results[0]['time']);16 $this->assertEqual($recorder->results[0]['status'], "Passed");17 $this->assertPattern("/sample\.php->SampleTestForRecorder->testTrueIsTrue/i", $recorder->results[0]['test']);18 $this->assertPattern("/ at \[.*recorder\/test\/sample\.php line 7\]/", $recorder->results[0]['message']);19 $this->assertEqual(count($recorder->results[1]), 4);20 $this->assertPattern("/".substr(time(), 9)."/", $recorder->results[1]['time']);21 $this->assertEqual($recorder->results[1]['status'], "Failed");22 $this->assertPattern("/sample\.php->SampleTestForRecorder->testFalseIsTrue/i", $recorder->results[1]['test']);23 $this->assertPattern("/Expected false, got \[Boolean: true\] at \[.*recorder\/test\/sample\.php line 11\]/", $recorder->results[1]['message']);24 }25}26?>...
Recorder
Using AI Code Generation
1$recorder = new Phake\Recorder();2$recorder->record();3$recorder = new Phake\Recorder();4$recorder->record();5$recorder = new Phake\Recorder();6$recorder->record();7$recorder = new Phake\Recorder();8$recorder->record();9$recorder = new Phake\Recorder();10$recorder->record();11$recorder = new Phake\Recorder();12$recorder->record();13$recorder = new Phake\Recorder();14$recorder->record();15$recorder = new Phake\Recorder();16$recorder->record();17$recorder = new Phake\Recorder();18$recorder->record();19$recorder = new Phake\Recorder();20$recorder->record();21$recorder = new Phake\Recorder();22$recorder->record();23$recorder = new Phake\Recorder();24$recorder->record();25$recorder = new Phake\Recorder();26$recorder->record();27$recorder = new Phake\Recorder();28$recorder->record();29$recorder = new Phake\Recorder();30$recorder->record();
Recorder
Using AI Code Generation
1require_once('PhakeRecorder.php');2$recorder = new Recorder();3$recorder->record();4require_once('PhakeRecorder.php');5$recorder = new Recorder();6$recorder->record();7require_once('PhakeRecorder.php');8$recorder = new Recorder();9$recorder->record();10require_once('PhakeRecorder.php');11$recorder = new Recorder();12$recorder->record();13require_once('PhakeRecorder.php');14$recorder = new Recorder();15$recorder->record();16require_once('PhakeRecorder.php');17$recorder = new Recorder();18$recorder->record();19require_once('PhakeRecorder.php');20$recorder = new Recorder();21$recorder->record();22require_once('PhakeRecorder.php');23$recorder = new Recorder();24$recorder->record();25require_once('PhakeRecorder.php');26$recorder = new Recorder();27$recorder->record();28require_once('PhakeRecorder.php');29$recorder = new Recorder();30$recorder->record();31require_once('PhakeRecorder.php');32$recorder = new Recorder();33$recorder->record();34require_once('PhakeRecorder.php');
Recorder
Using AI Code Generation
1require_once('PhakeRecorder.php');2$recorder = new PhakeRecorder();3$recorder->record();4require_once('PhakeRecorder.php');5$recorder = new PhakeRecorder();6$recorder->record();7require_once('PhakeRecorder.php');8$recorder = new PhakeRecorder();9$recorder->record();10require_once('PhakeRecorder.php');11$recorder = new PhakeRecorder();12$recorder->record();13require_once('PhakeRecorder.php');14$recorder = new PhakeRecorder();15$recorder->record();16require_once('PhakeRecorder.php');17$recorder = new PhakeRecorder();18$recorder->record();19require_once('PhakeRecorder.php');20$recorder = new PhakeRecorder();21$recorder->record();22require_once('PhakeRecorder.php');23$recorder = new PhakeRecorder();24$recorder->record();25require_once('PhakeRecorder.php');26$recorder = new PhakeRecorder();27$recorder->record();28require_once('PhakeRecorder.php');29$recorder = new PhakeRecorder();30$recorder->record();31require_once('PhakeRecorder.php');32$recorder = new PhakeRecorder();33$recorder->record();34require_once('PhakeRecorder.php');35$recorder = new PhakeRecorder();36$recorder->record();37require_once('Phake
Recorder
Using AI Code Generation
1require_once('PhakeRecorder.php');2$recorder = new Recorder();3$recorder->record('2.php');4require_once('PhakeRecorder.php');5$recorder = new Recorder();6$recorder->record('3.php');7require_once('PhakeRecorder.php');8$recorder = new Recorder();9$recorder->record('4.php');10require_once('PhakeRecorder.php');11$recorder = new Recorder();12$recorder->record('5.php');13require_once('PhakeRecorder.php');14$recorder = new Recorder();15$recorder->record('6.php');16require_once('PhakeRecorder.php');17$recorder = new Recorder();18$recorder->record('7.php');19require_once('PhakeRecorder.php');20$recorder = new Recorder();21$recorder->record('8.php');22require_once('PhakeRecorder.php');23$recorder = new Recorder();24$recorder->record('9.php');25require_once('PhakeRecorder.php');26$recorder = new Recorder();27$recorder->record('10.php');28require_once('PhakeRecorder.php');29$recorder = new Recorder();30$recorder->record('11.php');31require_once('PhakeRecorder.php');32$recorder = new Recorder();33$recorder->record('12.php');
Recorder
Using AI Code Generation
1require_once('PhakeRecorder.php');2$recorder = new Recorder();3$recorder->startRecording();4$recorder->stopRecording();5$recorder->saveRecording('recording');6require_once('PhakePlayer.php');7$player = new Player();8$player->playRecording('recording');9require_once('PhakeRecorder.php');10{11 public function testMyFunction()12 {13 $recorder = new Recorder();14 $recorder->startRecording();15 $recorder->stopRecording();16 $recorder->saveRecording('recording');17 }18}19require_once('PhakePlayer.php');20{21 public function testMyFunction()22 {23 $player = new Player();24 $player->playRecording('recording');25 }26}
Recorder
Using AI Code Generation
1require_once 'Recorder.php';2$recorder = new Recorder();3$recordings = $recorder->getRecordings();4$recordings = $recorder->getRecordings('1234567890');5$recordings = $recorder->getRecordings('1234567890', '2016-03-26');6$recordings = $recorder->getRecordings('1234567890', '2016-03-26', '2016-03-27');7$recordings = $recorder->getRecordings('1234567890', '2016-03-26', '2016-03-27');8$recordings = $recorder->getRecordings('1234567890', '2016-03-26', '2016-03-27', 10);9$recordings = $recorder->getRecordings('1234567890', '2016-03-26', '2016-03-27', 10);10$recordings = $recorder->getRecordings('1234567890', '2016-03-26', '2016-03-27', 10, 2);11$recordings = $recorder->getRecordings('1234567890', '2016-03-26', '2016-03-27', 10, 2, 'date');
Recorder
Using AI Code Generation
1require_once('./PhakeRecorder.php');2$recorder = new PhakeRecorder();3$recorder->record('2.php');4require_once('./PhakePlayer.php');5$player = new PhakePlayer();6$player->play('2.php');
Recorder
Using AI Code Generation
1require_once('Recorder.php');2$recorder = new Recorder();3$recorder->record('2.php');4require_once('Recorder.php');5$recorder = new Recorder();6$recorder->record('3.php');7$recorder->recordFunction('test');8function test(){9}
Learn to execute automation testing from scratch with LambdaTest Learning Hub. Right from setting up the prerequisites to run your first automation test, to following best practices and diving deeper into advanced test scenarios. LambdaTest Learning Hubs compile a list of step-by-step guides to help you be proficient with different test automation frameworks i.e. Selenium, Cypress, TestNG etc.
You could also refer to video tutorials over LambdaTest YouTube channel to get step by step demonstration from industry experts.
Trigger Selenium automation tests on a cloud-based Grid of 3000+ real browsers and operating systems.
Test now for FreeGet 100 minutes of automation test minutes FREE!!