Commit 3ed60ab82d95ea55506bdd6b9428aa0422fa4906

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

Webm fallback on videos

app/views/devise/registrations/new.html.haml
... ... @@ -2,11 +2,11 @@
2 2 %h2 Cadastrar Usuário
3 3  
4 4 .row-fluid
5   - .span5.well
6   - = html5_video_tag('/system/videos/cadastro.mp4', 'video-vlibras', 'video-instructions',
7   - :autoplay => 'autoplay', :loop => 'loop')
  5 + //.span5.well
  6 + //= html5_video_tag('/system/videos/cadastro.mp4', 'video-vlibras', 'video-instructions',
  7 + // :autoplay => 'autoplay', :loop => 'loop')
8 8  
9   - .span7.well
  9 + .span8.well.offset2
10 10 %h2 Dados do Usuário
11 11  
12 12 = simple_form_for(resource, :as => resource_name, :url => registration_path(resource_name)) do |f|
... ...
app/views/devise/sessions/new.html.haml
1 1 .row-fluid
2 2 .span7
3   - = html5_video_tag('/system/videos/login.mp4', 'login', 'video-instructions',
  3 + = html5_video_tag(['/system/videos/login.webm', '/system/videos/login.mp4'], 'login', 'video-instructions',
4 4 :autoplay => 'autoplay', :loop => 'loop')
5 5  
6 6 .span4.offset1.login
... ...
app/views/static/home.haml
... ... @@ -4,7 +4,7 @@
4 4 .hero-unit
5 5 .row-fluid
6 6 .span4
7   - = html5_video_tag('/system/videos/vlibras.mp4', 'video-vlibras', 'video-instructions',
  7 + = html5_video_tag(['/system/videos/vlibras.webm', '/system/videos/vlibras.mp4'], 'video-vlibras', 'video-instructions',
8 8 :autoplay => 'autoplay', :loop => 'loop')
9 9  
10 10 %br/
... ...
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.webm", 'id-4', 'video-wizard')
  4 + = html5_video_tag(['/system/videos/workflow/localizacao.webm', '/system/videos/workflow/localizacao.mp4'], 'id-4', 'video-wizard')
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.webm", 'id-2', 'video-wizard')
  4 + = html5_video_tag(['/system/videos/workflow/sub_audio.webm', '/system/videos/workflow/sub_audio.mp4'], 'id-2', 'video-wizard')
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.webm", 'id-3', 'video-wizard')
  4 + = html5_video_tag(['/system/videos/workflow/tamanho.webm', '/system/videos/workflow/tamanho.mp4'], 'id-3', 'video-wizard')
5 5  
6 6 :javascript
7 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.webm'], 'id-1', 'video-wizard')
  4 + = html5_video_tag(['/system/videos/workflow/sub_audio.webm', '/system/videos/workflow/sub_audio.mp4'], 'id-1', 'video-wizard')
5 5  
6 6 .row-fluid
7 7 .span1.offset3
... ...