Commit fe36f0dbf731ebeef4d719424916242216687ab4
1 parent
0573edc5
Exists in
master
and in
2 other branches
Preload none
Showing
4 changed files
with
7 additions
and
6 deletions
Show diff stats
app/views/v_libras/requests/_position_step.haml
1 | #position-step.wrapper | 1 | #position-step.wrapper |
2 | .video_wrapper | 2 | .video_wrapper |
3 | 3 | ||
4 | - = html5_video_tag("/system/videos/workflow/localizacao.mp4", 'id-4', 'video-wizard') | 4 | + = html5_video_tag("/system/videos/workflow/localizacao.mp4", 'id-4', 'video-wizard', :preload => 'none') |
5 | 5 | ||
6 | :javascript | 6 | :javascript |
7 | var optionsPosition = { | 7 | var optionsPosition = { |
app/views/v_libras/requests/_service_step.haml
1 | #service-step.wrapper | 1 | #service-step.wrapper |
2 | .video_wrapper | 2 | .video_wrapper |
3 | 3 | ||
4 | - = html5_video_tag("/system/videos/workflow/sub_audio.mp4", 'id-2', 'video-wizard') | 4 | + = html5_video_tag("/system/videos/workflow/sub_audio.mp4", 'id-2', 'video-wizard', :preload => 'none') |
5 | 5 | ||
6 | .row-fluid.hide | 6 | .row-fluid.hide |
7 | .span1.offset3 | 7 | .span1.offset3 |
app/views/v_libras/requests/_size_step.haml
1 | #size-step.wrapper | 1 | #size-step.wrapper |
2 | .video_wrapper | 2 | .video_wrapper |
3 | 3 | ||
4 | - = html5_video_tag("/system/videos/workflow/tamanho.mp4", 'id-3', 'video-wizard') | ||
5 | - | 4 | + = html5_video_tag("/system/videos/workflow/tamanho.mp4", 'id-3', 'video-wizard', :preload => 'none') |
6 | 5 | ||
7 | :javascript | 6 | :javascript |
8 | var optionsSize = { | 7 | var optionsSize = { |
app/views/v_libras/requests/_video_step.haml
1 | #video-step.wrapper | 1 | #video-step.wrapper |
2 | .video_wrapper | 2 | .video_wrapper |
3 | 3 | ||
4 | - = html5_video_tag("/system/videos/workflow/sub_audio.mp4", 'id-1', 'video-wizard', :autoplay => 'autoplay') | 4 | + = html5_video_tag("/system/videos/workflow/sub_audio.mp4", 'id-1', 'video-wizard', :preload => 'auto') |
5 | 5 | ||
6 | .row-fluid | 6 | .row-fluid |
7 | .span1.offset3 | 7 | .span1.offset3 |
@@ -18,4 +18,6 @@ | @@ -18,4 +18,6 @@ | ||
18 | }; | 18 | }; |
19 | 19 | ||
20 | var VLibrasVideo = new VLibrasLocalization(); | 20 | var VLibrasVideo = new VLibrasLocalization(); |
21 | - VLibrasVideo.init("#video-step", optionsVideo); | ||
22 | \ No newline at end of file | 21 | \ No newline at end of file |
22 | + VLibrasVideo.init("#video-step", optionsVideo); | ||
23 | + | ||
24 | + VLibrasVideo.play(); | ||
23 | \ No newline at end of file | 25 | \ No newline at end of file |