1 |
efrain |
1 |
{{!
|
|
|
2 |
This file is part of Moodle - http://moodle.org/
|
|
|
3 |
|
|
|
4 |
Moodle is free software: you can redistribute it and/or modify
|
|
|
5 |
it under the terms of the GNU General Public License as published by
|
|
|
6 |
the Free Software Foundation, either version 3 of the License, or
|
|
|
7 |
(at your option) any later version.
|
|
|
8 |
|
|
|
9 |
Moodle is distributed in the hope that it will be useful,
|
|
|
10 |
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
11 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
12 |
GNU General Public License for more details.
|
|
|
13 |
|
|
|
14 |
You should have received a copy of the GNU General Public License
|
|
|
15 |
along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
16 |
}}
|
|
|
17 |
{{!
|
|
|
18 |
@template tiny_recordrtc/insert_recording
|
|
|
19 |
|
|
|
20 |
Insert recording template.
|
|
|
21 |
|
|
|
22 |
Example context (json):
|
|
|
23 |
{
|
|
|
24 |
|
|
|
25 |
}
|
|
|
26 |
}}
|
|
|
27 |
<div class="tiny_recordrtc container-fluid">
|
|
|
28 |
<div data-purpose="security-warning" class="row hide">
|
|
|
29 |
<div class="col-12">
|
|
|
30 |
<div id="alert-danger" class="alert alert-danger">
|
|
|
31 |
<strong>
|
11 |
efrain |
32 |
{{#str}} insecurealert_title, tiny_recordrtc {{/str}}
|
1 |
efrain |
33 |
</strong>
|
|
|
34 |
{{#str}} insecurealert, tiny_recordrtc {{/str}}
|
|
|
35 |
</div>
|
|
|
36 |
</div>
|
|
|
37 |
</div>
|
|
|
38 |
<div data-purpose="player-container" class="row hide">
|
|
|
39 |
{{#isaudio}}
|
|
|
40 |
<div class="col-1"></div>
|
|
|
41 |
<div class="col-10">
|
|
|
42 |
<audio id="player"></audio>
|
|
|
43 |
</div>
|
|
|
44 |
<div class="col-1"></div>
|
|
|
45 |
{{/isaudio}}
|
|
|
46 |
{{^isaudio}}
|
|
|
47 |
<div class="col-12">
|
|
|
48 |
<video id="player"></video>
|
|
|
49 |
</div>
|
|
|
50 |
{{/isaudio}}
|
|
|
51 |
</div>
|
|
|
52 |
<div data-purpose="start-stop-container" class="row">
|
|
|
53 |
<div class="col-1"></div>
|
|
|
54 |
<div class="col-10">
|
|
|
55 |
<button id="start-stop" class="btn btn-lg btn-outline-danger btn-block" data-action-"startstop">
|
|
|
56 |
{{#str}} startrecording, tiny_recordrtc {{/str}}
|
|
|
57 |
</button>
|
|
|
58 |
</div>
|
|
|
59 |
<div class="col-1"></div>
|
|
|
60 |
</div>
|
|
|
61 |
<div data-purpose="attach-container" class="row hide">
|
|
|
62 |
<div class="col-3"></div>
|
|
|
63 |
<div class="col-6">
|
|
|
64 |
<button id="upload" class="btn btn-primary btn-block" data-action-"attach">
|
|
|
65 |
{{#str}} attachrecording, tiny_recordrtc {{/str}}
|
|
|
66 |
</button>
|
|
|
67 |
</div>
|
|
|
68 |
<div class="col-3"></div>
|
|
|
69 |
</div>
|
|
|
70 |
</div>
|