Commit fe36f0dbf731ebeef4d719424916242216687ab4

Authored by Fernando Brito
1 parent 0573edc5
Exists in master and in 2 other branches v2, wikilibras

Preload none

app/views/v_libras/requests/_position_step.haml
1 1 #position-step.wrapper
2 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 6 :javascript
7 7 var optionsPosition = {
... ...
app/views/v_libras/requests/_service_step.haml
1 1 #service-step.wrapper
2 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 6 .row-fluid.hide
7 7 .span1.offset3
... ...
app/views/v_libras/requests/_size_step.haml
1 1 #size-step.wrapper
2 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 6 :javascript
8 7 var optionsSize = {
... ...
app/views/v_libras/requests/_video_step.haml
1 1 #video-step.wrapper
2 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 6 .row-fluid
7 7 .span1.offset3
... ... @@ -18,4 +18,6 @@
18 18 };
19 19  
20 20 var VLibrasVideo = new VLibrasLocalization();
21   - VLibrasVideo.init("#video-step", optionsVideo);
22 21 \ No newline at end of file
  22 + VLibrasVideo.init("#video-step", optionsVideo);
  23 +
  24 + VLibrasVideo.play();
23 25 \ No newline at end of file
... ...