W3cubDocs

/Web APIs

HTMLVideoElement.msInsertVideoEffect()

Non-standard: This feature is non-standard and is not on a standards track. Do not use it on production sites facing the Web: it will not work for every user. There may also be large incompatibilities between implementations and the behavior may change in the future.

The HTMLMediaElement.msInsertVideoEffect() method inserts the specified video effect into the media pipeline.

This proprietary method is specific to Internet Explorer and Microsoft Edge.

Syntax

msInsertVideoEffect(activatableClassId, effectRequired)
msInsertVideoEffect(activatableClassId, effectRequired, config)

Parameters

activatableClassId

A string defining the video effects class.

effectRequired

A Boolean which if set to true requires a video effect to be defined.

configOptional

An optional Object to help with defining any additional configuration needed.

Return value

This method does not return a value.

Examples

var oVideo1 = document.getElementById("video1");
oVideo1.msInsertVideoEffect("Windows.Media.VideoEffects.VideoStabilization", true, null);

See also

© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLVideoElement/msInsertVideoEffect