From fe36f0dbf731ebeef4d719424916242216687ab4 Mon Sep 17 00:00:00 2001 From: Fernando Brito Date: Wed, 4 Jun 2014 18:07:58 -0300 Subject: [PATCH] Preload none --- app/views/v_libras/requests/_position_step.haml | 2 +- app/views/v_libras/requests/_service_step.haml | 2 +- app/views/v_libras/requests/_size_step.haml | 3 +-- app/views/v_libras/requests/_video_step.haml | 6 ++++-- 4 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/views/v_libras/requests/_position_step.haml b/app/views/v_libras/requests/_position_step.haml index 3d21217..cc480ee 100644 --- a/app/views/v_libras/requests/_position_step.haml +++ b/app/views/v_libras/requests/_position_step.haml @@ -1,7 +1,7 @@ #position-step.wrapper .video_wrapper - = html5_video_tag("/system/videos/workflow/localizacao.mp4", 'id-4', 'video-wizard') + = html5_video_tag("/system/videos/workflow/localizacao.mp4", 'id-4', 'video-wizard', :preload => 'none') :javascript var optionsPosition = { diff --git a/app/views/v_libras/requests/_service_step.haml b/app/views/v_libras/requests/_service_step.haml index ecbd80c..ece68f2 100644 --- a/app/views/v_libras/requests/_service_step.haml +++ b/app/views/v_libras/requests/_service_step.haml @@ -1,7 +1,7 @@ #service-step.wrapper .video_wrapper - = html5_video_tag("/system/videos/workflow/sub_audio.mp4", 'id-2', 'video-wizard') + = html5_video_tag("/system/videos/workflow/sub_audio.mp4", 'id-2', 'video-wizard', :preload => 'none') .row-fluid.hide .span1.offset3 diff --git a/app/views/v_libras/requests/_size_step.haml b/app/views/v_libras/requests/_size_step.haml index 2faf1e9..991c408 100644 --- a/app/views/v_libras/requests/_size_step.haml +++ b/app/views/v_libras/requests/_size_step.haml @@ -1,8 +1,7 @@ #size-step.wrapper .video_wrapper - = html5_video_tag("/system/videos/workflow/tamanho.mp4", 'id-3', 'video-wizard') - + = html5_video_tag("/system/videos/workflow/tamanho.mp4", 'id-3', 'video-wizard', :preload => 'none') :javascript var optionsSize = { diff --git a/app/views/v_libras/requests/_video_step.haml b/app/views/v_libras/requests/_video_step.haml index 4a680fd..74df17e 100644 --- a/app/views/v_libras/requests/_video_step.haml +++ b/app/views/v_libras/requests/_video_step.haml @@ -1,7 +1,7 @@ #video-step.wrapper .video_wrapper - = html5_video_tag("/system/videos/workflow/sub_audio.mp4", 'id-1', 'video-wizard', :autoplay => 'autoplay') + = html5_video_tag("/system/videos/workflow/sub_audio.mp4", 'id-1', 'video-wizard', :preload => 'auto') .row-fluid .span1.offset3 @@ -18,4 +18,6 @@ }; var VLibrasVideo = new VLibrasLocalization(); - VLibrasVideo.init("#video-step", optionsVideo); \ No newline at end of file + VLibrasVideo.init("#video-step", optionsVideo); + + VLibrasVideo.play(); \ No newline at end of file -- libgit2 0.21.2