ng-media-events

WebJar for ng-media-events

License

License

MIT
GroupId

GroupId

org.webjars.bower
ArtifactId

ArtifactId

ng-media-events
Last Version

Last Version

1.0.1
Release Date

Release Date

Type

Type

jar
Description

Description

ng-media-events
WebJar for ng-media-events
Project URL

Project URL

http://webjars.org
Source Code Management

Source Code Management

https://github.com/amercier/ng-media-events

Download ng-media-events

How to add to project

<!-- https://jarcasting.com/artifacts/org.webjars.bower/ng-media-events/ -->
<dependency>
    <groupId>org.webjars.bower</groupId>
    <artifactId>ng-media-events</artifactId>
    <version>1.0.1</version>
</dependency>
// https://jarcasting.com/artifacts/org.webjars.bower/ng-media-events/
implementation 'org.webjars.bower:ng-media-events:1.0.1'
// https://jarcasting.com/artifacts/org.webjars.bower/ng-media-events/
implementation ("org.webjars.bower:ng-media-events:1.0.1")
'org.webjars.bower:ng-media-events:jar:1.0.1'
<dependency org="org.webjars.bower" name="ng-media-events" rev="1.0.1">
  <artifact name="ng-media-events" type="jar" />
</dependency>
@Grapes(
@Grab(group='org.webjars.bower', module='ng-media-events', version='1.0.1')
)
libraryDependencies += "org.webjars.bower" % "ng-media-events" % "1.0.1"
[org.webjars.bower/ng-media-events "1.0.1"]

Dependencies

There are no dependencies for this project. It is a standalone project that does not depend on any other jars.

Project Modules

There are no modules declared in this project.

ng-media-events

Angular directives for HTML5 audio/video media events.

Latest Stable Version

Description

ng-media-events is an Angular 1.x module that adds directives that allow binding HTML5 media events to Angular scope methods.

Installation

Using Bower:

bower install ng-media-events --save

or, using NPM:

npm install ng-media-events --save

Usage

  1. Add ngMedia to your app dependencies (typically, app.js):
angular
  .module('myApp', [..., 'ngMedia'])
  .config(/* ... */)
  1. Then, in your views:
<ANY
  ng-abort="expression"
  ng-canplay="expression"
  ng-canplaythrough="expression"
  ng-durationchange="expression"
  ng-emptied="expression"
  ng-ended="expression"
  ng-error="expression"
  ng-loadeddata="expression"
  ng-loadedmetadata="expression"
  ng-loadstart="expression"
  ng-pause="expression"
  ng-play="expression"
  ng-playing="expression"
  ng-progress="expression"
  ng-ratechange="expression"
  ng-resize="expression"
  ng-seeked="expression"
  ng-seeking="expression"
  ng-stalled="expression"
  ng-suspend="expression"
  ng-timeupdate="expression"
  ng-volumechange="expression"
  ng-waiting="expression"
>
...
</ANY>
Argument Type Details
ngAbort
ngCanplay
ngCanplaythrough
ngDurationchange
ngEmptied
ngEnded
ngError
ngLoadeddata
ngLoadedmetadata
ngLoadstart
ngPause
ngPlay
ngPlaying
ngProgress
ngRatechange
ngResize
ngSeeked
ngSeeking
ngStalled
ngSuspend
ngTimeupdate
ngVolumechange
ngWaiting
Expression Expression to evaluate upon click. (Event object is available as $event)

License

This project is released under MIT License license. If this license does not fit your requirement for whatever reason, but you would be interested in using the work (as defined below) under another license, please contact any of the contributors.

Contributing

Contributions (issues , pull requests ) are more than welcome! Feel free to clone, fork, modify, extend, etc, as long as you respect the license terms.

See contributing intructions for details.

Versions

Version
1.0.1