Microsoft.AspNetCore.Components.Web.Media Namespace
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Classes
| Name | Description |
|---|---|
| FileDownload |
A component that provides an anchor element to download the provided media source. |
| FileDownloadContext |
Extended media context for the FileDownload component providing click invocation and filename. |
| Image |
A component that efficiently renders images from non-HTTP sources like byte arrays. |
| MediaComponentBase |
Base component that handles turning a media stream into an object URL plus caching and lifetime management.
Subclasses implement their own rendering and provide the target attribute (e.g., |
| MediaContext |
Base context supplied to media component RenderFragment<TValue> custom content. Used by Image and Video, and as the base for FileDownloadContext. |
| MediaSource |
Represents a single-use source for media data. A MediaSource corresponds to exactly one load operation. It holds a single underlying Stream that will be consumed by a media component. Reuse of an instance for multiple components or multiple loads is not supported. |
| Video |
A component that efficiently renders video content from non-HTTP sources like byte arrays. |