- Supports all embed parameters, API methods and events
- Requires Froogaloop
$scope.video = {
properties: {
autoplay: true,
api: true
},
events: {
ready: function () {
this.api('setVolume', 1.0);
this.api('getDuration', function (duration) {
$scope.duration = Math.floor(duration / 60);
});
},
finish: function () {
$scope.finished = true;
}
}
};
<bs-vimeo-player
video-id="42615527"
properties="video.properties"
events="video.events"
></bs-vimeo-player>