Commit 447d495780b36317bce0d1f86e541bc15ae9f224
1 parent
dd6f8bcd
Exists in
theme-brasil-digital-from-staging
and in
9 other branches
Fix playback at Serpro producition for video files
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
plugins/video/views/content_viewer/_video.html.erb
| ... | ... | @@ -12,7 +12,7 @@ |
| 12 | 12 | <link type="text/css" rel="stylesheet" href="/plugins/video/css/video-js-4.5.1.css" /> |
| 13 | 13 | <video id="embedded_video" src="" class="video-js vjs-default-skin vjs-big-play-centered" controls preload="auto" |
| 14 | 14 | width="<%= @page.fitted_width %>" height="<%= @page.fitted_height %>" |
| 15 | - data-setup='<%=CGI::escapeHTML("{ \"techOrder\": [\"vimeo\"], \"src\": \"#{@page.video_url}\", \"loop\": true, \"autoplay\": false }") %>'> | |
| 15 | + data-setup='<%=CGI::escapeHTML("{ \"techOrder\": [\"vimeo\"], \"src\": \"#{@page.video_url}\", \"loop\": true, \"autoplay\": false }") %>'> | |
| 16 | 16 | <%= @page.no_browser_support_message %> |
| 17 | 17 | </video> |
| 18 | 18 | <script src="/plugins/video/javascripts/videojs/video-4.5.1.js"></script> |
| ... | ... | @@ -23,7 +23,7 @@ |
| 23 | 23 | <video id="embedded_video" class="video-js vjs-default-skin vjs-big-play-centered" |
| 24 | 24 | height="353" width="499" |
| 25 | 25 | controls preload="auto" |
| 26 | - data-setup='{"example_option":true}'> | |
| 26 | + data-setup='<%=CGI::escapeHTML("{ \"example_option\":true}") %>'> | |
| 27 | 27 | <source src="<%= @page.video_url %>" type='<%= @page.video_format %>' /> |
| 28 | 28 | <%= @page.no_browser_support_message %> |
| 29 | 29 | </video> | ... | ... |