-
Notifications
You must be signed in to change notification settings - Fork 0
/
station2.html
1108 lines (1012 loc) · 32.2 KB
/
station2.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!-- WORK STATION (THE FIRST STATION WHERE THE TURKERS FILL IN THE TIMESTAMPS FOR THE VERSES) -->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
<script src="http://cloudfactory-transcription.s3.amazonaws.com/javascripts/jquery.jplayer.min.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="http://cloudfactory-transcription.s3.amazonaws.com/javascripts/jquery.hotkeys.js"></script>
<script type="text/javascript" src="http://cloudfactory-transcription.s3.amazonaws.com/javascripts/atd/jquery.atd.textarea.js"></script>
<script type="text/javascript" src="http://cloudfactory-transcription.s3.amazonaws.com/javascripts/atd/csshttprequest.js"></script>
<script src="https://cloudfactory-transcription.s3.amazonaws.com/javascripts/jquery.elastic.source.js" type="text/javascript" charset="utf-8"></script>
<div id="overlay"></div>
<h1 class="logo bottom_rounded_corners"><a title="Cloud Factory" href="/">Cloud Factory</a></h1>
<div id = "instruction">
<div id = "show_more">
<div id = "instruction_text">
<p>Listen to the audio and fill in the timestamp for corresponding verse. You can use hot keys during ... <a href = "#" id = "show_more">Show More</a></p>
</div>
</div>
<div id = "instruction_content">
<div id = "instruction_text">
<p>Listen to the audio and fill in the timestamp for corresponding verse. You can use hot keys during fill in the time stamp.</p>
<p>Hot keys are:</p>
<p>Play/pause => Ctrl + /</p>
<p>Rewind => Ctrl + <</p>
<p>Fast_forward => Ctr + ></p>
<p>Stop => Ctr + s</p>
<p>Insert timecode => Ctr + i</p>
<p>Click on the relative text box so as to edit the time code and click play(ctrl + /) button to resume the audio.
<p>Fast forward/backward will fast forward and backward 3 seconds respectively.</p>
<p>After filling up all the timestamp press "I'm Done!" button to submit your task.</p>
</div>
</div>
<div id = "click_for_instruction">
<a id = "show_instruction" class="bottom_rounded_corners">View Instructions</a>
</div>
</div>
<div id = "wrapper">
<div id = "player_container">
<div id="jquery_jplayer" style="height: 0px"></div>
<div class="jp-audio">
<div class="jp-type-single">
<div id="jp_interface_1" class="jp-interface all_rounded_corners">
<ul class="jp-controls">
<li><a href="#" class="jp-play" tabindex="1">play</a></li>
<li><a href="#" class="jp-pause" tabindex="1">pause</a></li>
<li><a href="#" class="jp-stop" tabindex="1">stop</a></li>
<li><a href="#" class="jp-previous" tabindex="1">stop</a></li>
<li><a href="#" class="jp-next" tabindex="1">stop</a></li>
</ul>
<div class="jp-progress">
<div class="jp-seek-bar">
<div class="jp-play-bar"></div>
</div>
</div>
<div class="jp-volume-control">
<ul>
<li><a href="#" class="jp-mute" tabindex="1">mute</a></li>
<li><a href="#" class="jp-unmute" tabindex="1">unmute</a></li>
</ul>
</div>
<div class="jp-volume-bar">
<div class="jp-volume-bar-value"></div>
</div>
<div class="jp-current-time"></div>
<div class="jp-duration"></div>
</div>
</div>
</div>
</div>
<div id="hotkey_help" class="right_rounded_corners">
Play/Pause: Ctrl+/<br />
Rewind: Ctrl+< <br />
Fast-forward: Ctrl+> <br />
Insert time code: Ctrl + i
</div>
<div id = "trascription_area" class="all_rounded_corners">
<label for = "text" style="color:#fff;font-size:25px">Listen and fill in the timecodes!</label>
<form>
<div id = "bible_chapter" style="overflow:scroll;background:#fff">
1 The book of the genealogy of Jesus Christ, the Son of David, the Son of Abraham:2 Abraham begot Isaac, Isaac begot Jacob, and Jacob begot Judah and his brothers.3 Judah begot Perez and Zerah by Tamar, Perez begot Hezron, and Hezron begot Ram.4 Ram begot Amminadab, Amminadab begot Nahshon, and Nahshon begot Salmon.5 Salmon begot Boaz by Rahab, Boaz begot Obed by Ruth, Obed begot Jesse,6 and Jesse begot David the king.7 Solomon begot Rehoboam, Rehoboam begot Abijah, and Abijah begot Asa.8 Asa begot Jehoshaphat, Jehoshaphat begot Joram, and Joram begot Uzziah.9 Uzziah begot Jotham, Jotham begot Ahaz, and Ahaz begot Hezekiah.10 Hezekiah begot Manasseh, Manasseh begot Amon, and Amon begot Josiah.11 Josiah begot Jeconiah and his brothers about the time they were carried away to Babylon.12 And after they were brought to Babylon, Jeconiah begot Shealtiel, and Shealtiel begot Zerubbabel.13 Zerubbabel begot Abiud, Abiud begot Eliakim, and Eliakim begot Azor.14 Azor begot Zadok, Zadok begot Achim, and Achim begot Eliud.15 Eliud begot Eleazar, Eleazar begot Matthan, and Matthan begot Jacob.16 And Jacob begot Joseph the husband of Mary, of whom was born Jesus who is called Christ.17 So all the generations from Abraham to David are fourteen generations, from David until the captivity in Babylon are fourteen generations, and from the captivity in Babylon until the Christ are fourteen generations.
18 Now the birth of Jesus Christ was as follows: After His mother Mary was betrothed to Joseph, before they came together, she was found with child of the Holy Spirit.19 Then Joseph her husband, being a just man, and not wanting to make her a public example, was minded to put her away secretly.20 But while he thought about these things, behold, an angel of the Lord appeared to him in a dream, saying, Joseph, son of David, do not be afraid to take to you Mary your wife, for that which is conceived in her is of the Holy Spirit.21 And she will bring forth a Son, and you shall call His name Jesus, for He will save His people from their sins.22 So all this was done that it might be fulfilled which was spoken by the Lord through the prophet, saying:23 Behold, the virgin shall be with child, and bear a Son, and they shall call His name Immanuel, which is translated, God with us.24 Then Joseph, being aroused from sleep, did as the angel of the Lord commanded him and took to him his wife,25 and did not know her till she had brought forth her firstborn Son. And he called His name Jesus.
</div>
<input type = "submit" id = "submit_form" value = "I'm Done!" class='btn-blue'/>
<a href='javascript:' id='spell-check-transciption' class='spell-check-transciption'>Check Spelling</a>
</form>
<input type="hidden" value="00:00,00:08,00:15,00:20,00:25,00:30,00:35,00:40,00:45,00:50,00:55,01:00,01:05,01:10,01:15,01:20,01:25,01:30,01:45,01:55,02:10,02:15,02:30,02:45,03:10" id='timesnaps'>
</div>
</div>
<!-- stylesheets -->
<style>
body {
margin: 0;
}
.logo, .logo a {
float: left;
height: 60px;
margin: 0;
position: absolute;
width: 315px;
z-index: 2000000;
}
.logo a {
background: url("http://signup.cloudfactory.com/images/431-220211124229logo.logo.png") repeat scroll 0 0 transparent;
display: block;
text-indent: -9999px;
}
#wrapper {
/* border: 1px solid;*/
margin: auto;
width: 920px;
padding-top: 86px;
margin-bottom: 20px;
}
#player_container {
margin: 10px 0;
width: 787px;
float: left;
}
#hotkey_help {
border: 1px solid #C1D5E2;
color: #577589;
float: left;
font-size: 11px;
font-style: italic;
height: 75px;
margin: 17px 0;
padding: 10px 7px 0;
width: 110px;
background-color: #F7FBFD;
}
#trascription_area {
background-color: #29445E;
clear: both;
padding: 20px;
width: 746px;
border: 2px solid #C1D5E2;
}
.jp-volume-control {
}
div.jp-volume-control ul {
list-style-type:none;
padding:0;
margin: 0;
}
div.jp-volume-control ul li {
/* position: absolute; */
display:inline;
}
div.jp-volume-control ul a {
position: absolute;
overflow:hidden;
text-indent:-9999px;
}
div.jp-volume-control a.jp-mute,
div.jp-volume-control a.jp-unmute {
top:42px !important;
left:687px!important;
}
div.jp-volume-control a.jp-mute,
div.jp-volume-control a.jp-unmute {
top:42px!important;
left:687px!important;
}
#bible_chapter, .transcribed-text {
border: 2px solid #aaa;
font-family: Georgia,Times,serif;
height: 315px;
line-height: 20px;
padding: 12px 5px;
width: 732px;
font-size: 16px;
}
#instruction {
background-color: #29445E;
border-bottom: 2px solid #C1D5E2;
color: #FFFFFF;
min-height: 90px;
position: absolute;
width: 100%;
z-index: 1000000;
}
#show_more a{
color: #BFD6E2;
font-style: italic;
}
#instruction_content, #show_more {
padding-top: 39px;
width: 920px;
margin: 0 auto;
}
#instruction_content {
/* padding-top: 10px;*/
display: none;
}
#instruction_text {
width: 796px;
}
#click_for_instruction {
bottom: -27px;
margin-right: 35px;
position: absolute;
right: 25px;
text-align: right;
}
#show_instruction {
border: 2px solid #C1D5E2;
background-color: #29445E;
color: #C1D5E2;
padding: 10px;
border-top: none;
cursor: pointer;
}
#show_instruction:hover {
color: #fff;
}
.all_rounded_corners {
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
-khtml-border-radius: 10px;
border-radius: 10px;
}
.bottom_rounded_corners {
-moz-border-radius-bottomright: 10px;
-moz-border-radius-bottomleft: 10px;
-webkit-border-bottom-right-radius: 10px;
-webkit-border-bottom-left-radius: 10px;
}
.right_rounded_corners {
-moz-border-radius-topright: 10px;
-moz-border-radius-bottomright: 10px;
-webkit-border-top-right-radius: 10px;
-webkit-border-bottom-right-radius: 10px;
}
#overlay {
z-index: 10000;
filter: alpha(opacity=10); /*older IE*/
filter:progid:DXImageTransform.Microsoft.Alpha(opacity=50); /* IE */
-moz-opacity: .10; /*older Mozilla*/
-khtml-opacity: 0.1; /*older Safari*/
opacity: 0.1; /*supported by current Mozilla, Safari, and Opera*/
background-color:#000000;
position:fixed; top:0px; left:0px; width:100%; height:100%; text-align:center; vertical-align:middle;
display:none;
}
.transcribed-text {
background-color: #fff;
}
/*
* Skin for jPlayer Plugin (jQuery JavaScript Library)
* http://www.happyworm.com/jquery/jplayer
*
* Skin Name: Blue Monday
*
* Copyright (c) 2010 Happyworm Ltd
* Dual licensed under the MIT and GPL licenses.
* - http://www.opensource.org/licenses/mit-license.php
* - http://www.gnu.org/copyleft/gpl.html
*
* Author: Silvia Benvenuti
* Skin Version: 3.0 (jPlayer 2.0.0)
* Date: 20th December 2010
*/
div.jp-audio,
div.jp-video {
/* Edit the font-size to counteract inherited font sizing.
* Eg. 1.25em = 1 / 0.8em
*/
font-size:1em; /* No parent CSS that can effect the size in these demos */
font-family:Verdana, Arial, sans-serif;
line-height:1.6;
color: #666;
}
div.jp-audio {
width:786px;
}
div.jp-video-270p {
width:480px;
}
div.jp-video-360p {
width:640px;
}
div.jp-interface {
position: relative;
/* background-color:#eee;*/
/* width:418px; */
width:100%;
border:1px solid #C1D5E2;
}
div.jp-audio div.jp-type-single div.jp-interface {
height:100px;
/* border-bottom:none;*/
}
div.jp-audio div.jp-type-playlist div.jp-interface {
height:80px;
}
div.jp-video div.jp-type-single div.jp-interface {
height:60px;
border-bottom:none;
}
div.jp-video div.jp-type-playlist div.jp-interface {
height:60px;
}
div.jp-interface ul.jp-controls {
list-style-type:none;
padding:0;
margin: 0;
}
div.jp-interface ul.jp-controls li {
/* position: absolute; */
display:inline;
}
div.jp-interface ul.jp-controls a {
position: absolute;
overflow:hidden;
text-indent:-9999px;
}
a.jp-play,
a.jp-pause {
width:40px;
height:40px;
z-index:1;
}
div.jp-audio div.jp-type-single a.jp-play,
div.jp-audio div.jp-type-single a.jp-pause {
top:29px;
left:40px;
}
div.jp-audio div.jp-type-playlist a.jp-play,
div.jp-audio div.jp-type-playlist a.jp-pause {
top:29px;
left:48px;
}
div.jp-video a.jp-play,
div.jp-video a.jp-pause {
top:15px;
}
div.jp-video-270p div.jp-type-single a.jp-play,
div.jp-video-270p div.jp-type-single a.jp-pause {
left:195px;
}
div.jp-video-270p div.jp-type-playlist a.jp-play,
div.jp-video-270p div.jp-type-playlist a.jp-pause {
left:220px;
}
div.jp-video-360p div.jp-type-single a.jp-play,
div.jp-video-360p div.jp-type-single a.jp-pause {
left:275px;
}
div.jp-video-360p div.jp-type-playlist a.jp-play,
div.jp-video-360p div.jp-type-playlist a.jp-pause {
left:300px;
}
a.jp-play {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") 0 0 no-repeat;
}
a.jp-play:hover {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") -41px 0 no-repeat;
}
a.jp-pause {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") 0 -42px no-repeat;
display: none;
}
a.jp-pause:hover {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") -41px -42px no-repeat;
}
div.jp-audio div.jp-type-single a.jp-stop {
top:36px;
left:90px;
}
div.jp-audio div.jp-type-playlist a.jp-stop {
top:26px;
left:126px;
}
div.jp-video a.jp-stop {
top:21px;
}
div.jp-video-270p div.jp-type-single a.jp-stop {
left:245px;
}
div.jp-video-270p div.jp-type-playlist a.jp-stop {
left:298px;
}
div.jp-video-360p div.jp-type-single a.jp-stop {
left:325px;
}
div.jp-video-360p div.jp-type-playlist a.jp-stop {
left:378px;
}
a.jp-stop {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") 0 -83px no-repeat;
width:28px;
height:28px;
z-index:1;
}
a.jp-stop:hover {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") -29px -83px no-repeat;
}
div.jp-audio div.jp-type-playlist a.jp-previous {
left:20px;
top:26px;
}
div.jp-video div.jp-type-playlist a.jp-previous {
top:21px;
}
div.jp-video-270p div.jp-type-playlist a.jp-previous {
left:192px;
}
div.jp-video-360p div.jp-type-playlist a.jp-previous {
left:272px;
}
a.jp-previous {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") 0 -112px no-repeat;
width:28px;
height:28px;
left:250px;
top:70px;
}
a.jp-previous:hover {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") -29px -112px no-repeat;
}
div.jp-audio div.jp-type-playlist a.jp-next {
left:88px;
top:26px;
}
div.jp-video div.jp-type-playlist a.jp-next {
top:21px;
}
div.jp-video-270p div.jp-type-playlist a.jp-next {
left:260px;
}
div.jp-video-360p div.jp-type-playlist a.jp-next {
left:340px;
}
a.jp-next {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") 0 -141px no-repeat;
width:28px;
height:28px;
top:70px;
left:400px;
}
a.jp-next:hover {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") -29px -141px no-repeat;
}
div.jp-progress {
position: absolute;
overflow:hidden;
background-color: #ddd;
}
div.jp-audio div.jp-type-single div.jp-progress {
top:42px;
left:130px;
width:550px;
height:15px;
}
div.jp-audio div.jp-type-playlist div.jp-progress {
top:32px;
left:164px;
width:122px;
height:15px;
}
div.jp-video div.jp-progress {
top:0px;
left:0px;
width:100%;
height:10px;
}
div.jp-seek-bar {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") 0 -202px repeat-x;
width:0px;
/* height:15px; */
height:100%;
cursor: pointer;
}
div.jp-play-bar {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") 0 -218px repeat-x ;
width:0px;
/* height:15px; */
height:100%;
}
/* The seeking class is added/removed inside jPlayer */
div.jp-seeking-bg {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/pbar-ani.gif");
}
a.jp-mute,
a.jp-unmute {
width:18px;
height:15px;
}
div.jp-audio div.jp-type-single a.jp-mute,
div.jp-audio div.jp-type-single a.jp-unmute {
top:32px;
left:274px;
}
div.jp-audio div.jp-type-playlist a.jp-mute,
div.jp-audio div.jp-type-playlist a.jp-unmute {
top:32px;
left:296px;
}
div.jp-video a.jp-mute,
div.jp-video a.jp-unmute {
top:27px;
}
div.jp-video-270p div.jp-type-single a.jp-mute,
div.jp-video-270p div.jp-type-single a.jp-unmute {
left:304px;
}
div.jp-video-270p div.jp-type-playlist a.jp-unmute,
div.jp-video-270p div.jp-type-playlist a.jp-mute {
left:363px;
}
div.jp-video-360p div.jp-type-single a.jp-mute,
div.jp-video-360p div.jp-type-single a.jp-unmute {
left:384px;
}
div.jp-video-360p div.jp-type-playlist a.jp-mute,
div.jp-video-360p div.jp-type-playlist a.jp-unmute {
left:443px;
}
a.jp-mute {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") 0 -186px no-repeat;
}
a.jp-mute:hover {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") -19px -170px no-repeat;
}
a.jp-unmute {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") 0 -170px no-repeat;
display: none;
}
a.jp-unmute:hover {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") -19px -186px no-repeat;
}
div.jp-volume-bar {
position: absolute;
overflow:hidden;
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") 0 -250px repeat-x;
width:46px;
height:5px;
cursor: pointer;
}
div.jp-audio div.jp-type-single div.jp-volume-bar {
top:47px;
left:708px;
}
div.jp-audio div.jp-type-playlist div.jp-volume-bar {
top:37px;
left:324px;
}
div.jp-video div.jp-volume-bar {
top:32px;
}
div.jp-video-270p div.jp-type-single div.jp-volume-bar {
left:332px;
}
div.jp-video-270p div.jp-type-playlist div.jp-volume-bar {
left:391px;
}
div.jp-video-360p div.jp-type-single div.jp-volume-bar {
left:412px;
}
div.jp-video-360p div.jp-type-playlist div.jp-volume-bar {
left:471px;
}
div.jp-volume-bar-value {
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.jpg") 0 -256px repeat-x;
width:0px;
height:5px;
}
div.jp-current-time,
div.jp-duration {
position: absolute;
font-size:.64em;
font-style:oblique;
}
div.jp-duration {
text-align: right;
}
div.jp-audio div.jp-type-single div.jp-current-time,
div.jp-audio div.jp-type-single div.jp-duration {
top:57px;
left:130px;
width:550px;
}
div.jp-audio div.jp-type-playlist div.jp-current-time,
div.jp-audio div.jp-type-playlist div.jp-duration {
top:49px;
left:164px;
width:122px;
}
div.jp-video div.jp-current-time,
div.jp-video div.jp-duration {
top:10px;
left:0px;
width:98%;
padding:0 1%;
}
div.jp-playlist {
/* width:418px; */
width:100%;
background-color:#ccc;
border:1px solid #C1D5E2;
border-top:none;
}
div.jp-playlist ul {
list-style-type:none;
margin:0;
padding:0 20px;
/* background-color:#ccc; */
/* border:1px solid #C1D5E2; */
/* border-top:none; */
/* width:378px; */
font-size:.72em;
}
div.jp-type-single div.jp-playlist li {
padding:5px 0 5px 20px;
font-weight:bold;
}
div.jp-type-playlist div.jp-playlist li {
padding:5px 0 4px 20px;
border-bottom:1px solid #eee;
}
/*
div.jp-video div.jp-playlist li {
padding:5px 0 5px 20px;
font-weight:bold;
}
*/
div.jp-type-playlist div.jp-playlist li.jp-playlist-last {
padding:5px 0 5px 20px;
border-bottom:none;
}
div.jp-type-playlist div.jp-playlist li.jp-playlist-current {
list-style-type:square;
list-style-position:inside;
padding-left:8px;
}
div.jp-type-playlist div.jp-playlist a {
color: #666;
text-decoration: none;
}
div.jp-type-playlist div.jp-playlist a:hover {
color:#0d88c1;
}
div.jp-type-playlist div.jp-playlist a.jp-playlist-current {
color:#0d88c1;
}
div.jp-type-playlist div.jp-playlist div.jp-free-media {
display:inline;
margin-left:20px;
}
div.jp-video div.jp-video-play {
background: transparent url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.monday.video.play.png") no-repeat center;
/* position: relative; */
position: absolute;
cursor:pointer;
z-index:2;
}
div.jp-video div.jp-video-play:hover {
background: transparent url("http://cloudfactory-transcription.s3.amazonaws.com/skin/jplayer.blue.monday.video.play.hover.png") no-repeat center;
}
div.jp-video-270p div.jp-video-play {
top:-270px;
width:480px;
height:270px;
}
div.jp-video-360p div.jp-video-play {
top:-360px;
width:640px;
height:360px;
}
div.jp-jplayer {
width:0px;
height:0px;
}
div.jp-video div.jp-jplayer {
border:1px solid #C1D5E2;
border-bottom:none;
z-index:1;
}
div.jp-video-270p div.jp-jplayer {
width:480px;
height:270px;
}
div.jp-video-360p div.jp-jplayer {
width:640px;
height:360px;
}
div.jp-jplayer {
background-color: #000000;
}
/* AtD error styles */
.hiddenSpellError
{
border-bottom: 2px solid red;
cursor: default;
}
.hiddenGrammarError
{
border-bottom: 2px solid green;
cursor: default;
}
.hiddenSuggestion
{
border-bottom: 2px solid blue;
cursor: default;
}
/* */
.AtD_proofread_button
{
width: 14px;
height: 14px;
background-image: url('../images/writing.gif');
display: block;
}
.AtD_edit_button
{
width: 14px;
height: 14px;
background-image: url('../images/editing.gif');
display: block;
}
/* Menu styles derived from:
* jquery.spellchecker.js - a simple jQuery Spell Checker
* Copyright (c) 2008 Richard Willis
* MIT license : http://www.opensource.org/licenses/mit-license.php
* Project : http://jquery-spellchecker.googlecode.com
*/
#suggestmenu
{
background: #fff;
position: absolute;
display: none;
z-index: 9999;
overflow: none;
margin-top: 1px;
text-align: left;
font-size: 12px;
font-family: Tahoma, Verdana, Arial, Helvetica;
}
#suggestmenu strong
{
background: #ddd;
font-weight: bold;
padding:3px 6px 3px 6px;
display:block;
border:1px solid #ccc;
color: black;
}
#suggestmenu em
{
text-align:center;
padding:3px 6px 3px 6px;
display:block;
border-top:1px solid #ccc;
border-left:1px solid #ccc;
}
#suggestmenu a, #suggestmenu a:visited
{
background: #fff;
border-left:1px solid #bbb;
border-right:1px solid #bbb;
padding:3px 6px 3px 6px;
display:block;
margin:0px;
text-decoration:none;
color:#333;
outline:none
}
#suggestmenu a.first, #suggestmenu a.first:visited
{
border-top:1px solid #ccc
}
.spell_sep_bottom
{
border-bottom: 1px solid #ccc;
}
.spell_sep_top
{
border-top: 1px solid #ccc;
}
#suggestmenu a:hover
{
color:#000;
background: #dbecf3
}
#suggestmenu .foot
{
border-top:1px solid #ddd;
background:#fff
}
#suggestmenu .foot a, #suggestmenu .foot a:visited
{
outline:none
}
span.red {
color: red;
}
.btn-blue{
background: url("http://cloudfactory-transcription.s3.amazonaws.com/skin/bg-blue.gif") repeat-x 0 0;
border: 1px solid #07366A;
color: #FFFFFF;
font-size: 13px;
height: 32px;
margin-right: 8px;
margin-top: 5px;
}
#spell-check-transciption{
font-size: 12px;
color: #BFD6E2;
}
.all_shadow {
-moz-box-shadow: 5px 5px 5px 5px #F7FBFD;
-webkit-box-shadow: 5px 5px 5px 5px #F7FBFD;
box-shadow: 5px 5px 5px 5px #F7FBFD;
}
.bottom_shadow {
-moz-box-shadow: 5px 5px 5px 5px#ccc;
-webkit-box-shadow: 5px 5px 5px 5px#ccc;
box-shadow: 5px 5px 5px 5px #ccc;
}
.right_shadow {
-moz-box-shadow: 5px 5px 5px 5px#ccc;
-webkit-box-shadow: 5px 5px 5px 5px#ccc;
box-shadow: 5px 5px 5px 5px #ccc;
}
</style>
<!-- scripts -->
<script>
var verse_num = 2;
$(document).ready(function(){
// <!-- script to add text box to each verses , each text box has id correspond to its verse number-->
$('#bible_chapter').html($('#bible_chapter').text().replace(/(?:^|[\.?";:'])\s*(\d+)/g, "$1<input type='text' size='5' value='' class='verse' id ='verse_$1' name=output[verse_timesnap] maxlength='5' readonly \>"));
$('#verse_1').val("00:00");
$("#jquery_jplayer").jPlayer({
ready: function () {
$(this).jPlayer("setMedia", {
mp3: "/Users/gagan/Downloads/low/40-1.mp3"
})
},
ended: function (event) {
$(this).jPlayer("play");
},
swfPath: "http://cloudfactory-transcription.s3.amazonaws.com/javascripts",
supplied: "mp3"
});
transcription_area = "#text"
play_pause = 'Ctrl+/';
rewind = "Ctrl+<";
fast_forward = "Ctrl+>";
decrease_volumn = "Ctrl+9"
increase_volumn = "Ctrl+0"
stop = "Ctrl+o"
insert = "Ctrl+i"
$('#show_instruction').toggle(function() {
$("#jquery_jplayer").jPlayer("pause");
$('#overlay').toggle();
$('#show_more').toggle();
$('#instruction_content').animate({
height: 'toggle'
}, 1000, function(){
$('#show_instruction').html("Hide Instructions")
});
}, function(){
$('#instruction_content').animate({
height: 'toggle'
}, 1000, function(){
$('#show_more').toggle();
$('#overlay').toggle();
$('#show_instruction').html("View Instructions");
});
});
$('#show_more').click(function() {
$('#show_instruction').trigger('click');
});
$('.spell-check-transciption').live("click", function() {
var spell_check_id = $(this).attr('id');
check(spell_check_id, "text")
});
$(document).bind('keydown', stop, stopAudio)
$(document).bind('keydown', play_pause, startOrStopAudio)
$(document).bind('keypress', rewind, rewindAudio)
$(document).bind('keypress', fast_forward, fastForwardAudio)
$(document).bind('keypress', decrease_volumn, decVolume)
$(document).bind('keypress', increase_volumn, incVolume)
$(document).bind('keydown', insert, insert_timestamp)
//binding hotkeys on typing area
// Ctrl + space => pause/play
// Ctrl + + => forward by 3 sec
// Ctrl + - => backward by 3 sec
$(bible_chapter).bind('keydown', stop, stopAudio)
$(bible_chapter).bind('keydown', play_pause, startOrStopAudio)
$(bible_chapter).bind('keypress', rewind, rewindAudio)
$(bible_chapter).bind('keypress', fast_forward, fastForwardAudio)
$(bible_chapter).bind('keypress', decrease_volumn, decVolume)
$(bible_chapter).bind('keypress', increase_volumn, incVolume)
$(bible_chapter).bind('keydown', insert, insert_timestamp)
$("#jquery_jplayer").bind($.jPlayer.event.pause, function(event) { // Add a listener to report the time play began
$("#jquery_jplayer").jPlayer("playHead", get_seeking_time("rewind"));
});
// populate the textboxes with the timesnaps from previous station
timesnaps_arr = $('#timesnaps').val().split(",");
$('.verse').each(function(index){
$('#verse_'+parseInt(index +1,10)).val(timesnaps_arr[index]);
});
});
// end of document load
// click event for next/prev verse
var verse_index = 0;
$('.jp-next').live("click", function(){
verseTraverse("next");
})
$('.jp-previous').live("click", function(){
verseTraverse("prev");
})
function verseTraverse (direction) {
$('.verse').css("background","white");
$('.verse').css("color","black");
time_in_sec_arr = [];
currentTime = $('#jquery_jplayer').data("jPlayer").status.currentTime;
timesnaps_arr = $('#timesnaps').val().split(",");
for(var index= 0; index <= timesnaps_arr.length - 1; index++){
time_in_sec_arr[index] = convertToSeconds(timesnaps_arr[index]);
}
if(direction == "next"){