Skip to content

Instantly share code, notes, and snippets.

@israeljrs
Created September 5, 2018 22:47
Show Gist options
  • Save israeljrs/2a047ee05f7b6507166fc741f964d3c8 to your computer and use it in GitHub Desktop.
Save israeljrs/2a047ee05f7b6507166fc741f964d3c8 to your computer and use it in GitHub Desktop.
Codigo de exemplo para o angular 6 e o video.js
<div class="container-fluid">
<div class="container">
<div class="row">
<div class="col">
<div class="jumbotron">
<h3 class="text-center">Player com Video.JS</h3>
</div>
</div>
</div>
<div class="row">
<div class="col text-center">
<video #myvid id="my-video" class="video-js vjs-big-play-centered mini-play"
width="640" height="360" [poster]="poster" style="margin: auto;">
<source [src]="video" type="video/mp4">
</video>
</div>
</div>
</div>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment