VideoEffects VideoEffects VideoEffects VideoEffects Class

Definition

Provides video-related effects.

public : static class VideoEffectspublic static class VideoEffectsPublic Static Class VideoEffects// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Examples

The following JavaScript example adds the VideoStabilization effect to a <video> element. To add a different effect, replace the first parameter with the activatable ClassID of your media extension.

var myVideo = document.getElementById("videoTag1");
myVideo.msAddVideoEffect(
   “Windows.Media.VideoEffects.VideoStabilization”, // ClassID
    true,   // effectRequired
    null);  // config
    myVideo.play();

Remarks

For information in using the effects when capturing video, see Effects for video capture.

Properties

VideoStabilization VideoStabilization VideoStabilization VideoStabilization

Represents a video stabilization effect which can be used on a video object to reduce the shakiness in the video.

public : static PlatForm::String VideoStabilization { get; }public static string VideoStabilization { get; }Public Static ReadOnly Property VideoStabilization As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The name of the effect: "Windows.Media.VideoStabilizationEffect"

Remarks

While the VideoStabilization property is accessible on Windows Phone 8.1, the video stabilization effect itself is not supported on this platform. The effect is supported on Windows 10 Mobile and later.

See Also