ng-kaltura-player
v1.2.1
Published
Angular.js Directive for playing Kaltura videos
Downloads
6
Readme
ng-kaltura-player
Overview
A directive for AngularJS for embedding the Kaltura video player.
Setup
Install with npm or bower
npm install ng-kaltura-player
orbower install ng-kaltura-player
Include in your project
<script src="bower_components/ng-kaltura-player/index.js"></script>
Inject the directive
angular.module('App', ['Kaltura.directives'])
Usage
<kaltura-player width="640px" height="320px" video="selectedVideo"></kaltura-player>
Attributes
width
: The player width. You can specify px for pixels or % for percentageheight
: The player height. You can specify px for pixels or % for percentagevideo.pid
: Your Kaltura publisher ID.video.uiconfid
: Your Kaltura player ID.video.entryid
: The entry ID of the video to play.video.flahvars
: A Kaltura player flashvars object listing player configuration and plugins.