Results 41 - 60 of 145

MediaRecorder.onstop

The MediaRecorder.onstop event handler (part of the MediaRecorder API) handles the stop event, allowing you to run code in response to media recording via a MediaRecorder being stopped.
API Audio Media Capture Media Recorder API MediaRecorder onstop Property Reference Référence Video

MediaRecorder.onwarning

The MediaRecorder.onwarning event handler (part of the MediaRecorder API) handles the recordingwarning event, allowing you to run code in response to non-fatal errors being thrown during media recording via a MediaRecorder, which don't halt recording.
API Audio Media Capture Media Recorder API MediaRecorder onwarning Property Reference Référence Video

MediaRecorder API

The MediaRecorder API (MediaStream Recording) aims to provide a really simple mechanism by which developers can record media streams from the user's input devices and instantly use them in web apps, rather than having to perform manual encoding operations on raw PCM data, etc., which would be required when using Navigator.getUserMedia() alone.
API audio Audio Media Capture Media Recorder API Reference Référence Video video

MediaStream.clone()

The clone() method of the MediaStream interface creates a duplicate of the MediaStream. This new MediaStream object has a new unique id and contains clones of every MediaStreamTrack contained by the MediaStream on which clone() was called.
API clone Media Capture and Streams Media Stream API MediaStream Method Reference

MediaStreamTrack.applyConstraints()

The applyConstraints() method of the MediaStreamTrack interface applies a set of constraints to the track; these constraints let the Web site or app establish ideal values and acceptable ranges of values for the constrainable properties of the track, such as frame rate, dimensions, echo cancelation, and so forth.
API applyConstraints Constraints Media Capture and Streams API Media Streams API MediaStreamTrack Method

MediaStreamTrack.clone()

The clone() method of the MediaStreamTrack interface creates a duplicate of the MediaStreamTrack. This new MediaStreamTrack object is identical except for its unique id.
API clone Media Capture and Streams Media Streams API MediaStreamTrack Method Reference

MediaStreamTrack.getCapabilities()

The getCapabilities() method of the MediaStreamTrack interface returns a MediaTrackCapabilities object which specifies the values or range of values which each constrianable property, based upon the platform and user agent.
API getCapabilities Media Capture and Streams API Media Streams API MediaStreamTrack Method Reference

MediaStreamTrack.getConstraints()

The getConstraints() method of the MediaStreamTrack interface returns a MediaTrackConstraints object containing the set of constraints most recently established for the track using a prior call to applyConstraints(). These constraints indicate values and ranges of values that the Web site or application has specified are acceptable for the included constrainable properties.
API getConstraints Media Capture and Streams Media Streams API MediaStreamTrack Method Reference

MediaTrackConstraints

The MediaTrackConstraints dictionary is used to describe a set of capabilities and the value or values each can take on. A constraints dictionary is passed into applyConstraints() to allow a script to establish a set of ideal values and/or preferred ranges of values for the track, and the most recently-requested set of custom constraints can be retrieved by calling getConstraints().
API Dictionary Interface Media Capture and Streams API Media Streams API MediaTrackConstraints Reference

MediaTrackSupportedConstraints

The MediaTrackSupportedConstraints dictionary establishes the list of constrainable properties recognized by the user agent or browser in its implementation of the MediaStreamTrack object. An object conforming to MediaTrackSupportedConstraints is returned by MediaDevices.getSupportedConstraints().
API Constraints Dictionary Interface Media Capture and Streams API Media Streams API MediaTrackSupportedConstraints Reference

Media formats supported by the HTML audio and video elements

The <audio> and <video> elements provide support for playing audio and video media without requiring plug-ins. Video codecs and audio codecs are used to handle video and audio, and different codecs offer different levels of compression and quality. A container format is used to store and transmit the coded video and audio (both together, the case of a video with a soundtrack). Many combinations of codecs and container formats exist, although only a handful of these are relevant on the Web.
file formats Firefox HTML HTML5 Media media formats Reference Video video

Using media queries

A media query consists of an optional media type and zero or more expressions that limit the style sheets' scope by using media features, such as width, height, and color. Media queries, added in CSS3, let the presentation of content be tailored to a specific range of output devices without having to change the content itself.
Advanced CSS Guide Media Queries NeedsBrowserCompatibility NeedsMobileBrowserCompatibility Responsive Design Web

AudioContext.close()

The close() method of the AudioContext Interface closes the audio context, releasing any system audio resources that it uses.
API AudioContext close Media Method Reference Référence Web Audio API

HTMLMediaElement

The HTMLMediaElement interface adds to HTMLElement the properties and methods needed to support basic media-related capabilities that are common to audio and video. The HTMLVideoElement and HTMLAudioElement elements both inherit this interface.
API DOM HTML HTMLMediaElement Interface Media NeedsNewLayout Reference

MediaKeys

The MediaKeys interface of EncryptedMediaExtensions API the represents a set of keys that an associated HTMLMediaElement can use for decryption of media data during playback.
API Audio EncryptedMediaExtensions Interface Media MediaKeys NeedsExample Reference Référence Video

createSession()

The MediaKeys.createSession() method returns a new MediaKeySession object, which represents a context for message exchange with a content decryption module (CDM).
API createSession EncryptedMediaExtensions Experimental Media MediaKeys Method Reference

setServerCertificate()

The MediaKeys.setServerCertificate() method a Promise to a server certificate to be used to encrypt messages to the license server.
API EncryptedMediaExtensions Experimental Media MediaKeys Method Reference setServerCertificate