Directory

← Back

AudioVideo

Enhanced Audio ja Video component replacements for Vaadin 8

Author

Contributors

Rating

AudioVideo is a UI component add-on for Vaadin 8. It consists of GwtAudio and GwtVideo components which are drop in replacements for Vaadin Audio and Video components with more API features, events and range request support for connector resources which have content length.

There the following additional features

API

  • All normal Audio and Video API and the following
  • getPosition()
  • setPosition(..) Works with External url if server supports range requests. Works correctly also with ConnectorResources which have Content-Length, e.g. FileResource (see issue https://github.com/vaadin/framework/issues/1742 and https://github.com/vaadin/framework/issues/4266)
  • getVolume()
  • setVolume(..)
  • stop()
  • getters for metadata
  • ContentLengthConnectorResource: Helper class for the cases where you know content length, but need to use e.g. StreamResource

Events

  • MediaEndedEvent
  • MediaPausedEvent
  • MediaStartedEvent
  • MediaSeekedEvent
  • MetadataLoadedEvent

Compatibility

(Loading compatibility data...)

Was this helpful? Need more help?
Leave a comment or a question below. You can also join the chat on Discord or ask questions on StackOverflow.

Version

Version 1.4.0

  • Add API to control playbackRate (note, not supported in IE11)
Released
2022-10-08
Maturity
BETA
License
Apache License 2.0

Compatibility

Framework
Vaadin 8.0+
Browser
Firefox
Opera
Safari
Google Chrome
Internet Explorer
Microsoft Edge
Online