lib/mastalk/snippets/bright_video.html.erb in mastalk-0.5.5 vs lib/mastalk/snippets/bright_video.html.erb in mastalk-0.5.6
- old
+ new
@@ -1,13 +1,11 @@
# $~brightcove_video, ~$
<div class="video-wrapper">
- <video data-account="3608769895001"
- data-player="b15c0e6a-51da-4bb1-b717-bccae778670d"
- data-embed="default"
- class="video-js"
- controls
- data-video-id="<%= body.strip %>"
- style="width: 100%; height: 100%; position: absolute; top: 0px; bottom: 0px; right: 0px; left: 0px;">
- </video>
- <script src="//players.brightcove.net/3608769895001/b15c0e6a-51da-4bb1-b717-bccae778670d_default/index.min.js"></script>
+ <iframe src='//players.brightcove.net/3608769895001/b15c0e6a-51da-4bb1-b717-bccae778670d_default/index.html?videoId=<%= body.strip %>'
+ frameBorder="0"
+ allowfullscreen=""
+ webkitallowfullscreen=""
+ mozallowfullscreen=""
+ style="width: 100%; height: 100%; position: absolute; top: 0px; bottom: 0px; right: 0px; left: 0px;" >
+ </iframe>
</div>