Windows Dev Center

Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

VideoEffects class

Provides video-related effects.

Syntax


public static class VideoEffects

Members

The VideoEffects class has these types of members:

Methods

The VideoEffects class inherits methods from the Object class (C#/VB/C++).

Properties

The VideoEffects class has these properties.

PropertyAccess typeDescription

VideoStabilization

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

 

Examples

The following 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();


Requirements (Windows 10 device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

Windows.Media
Windows::Media [C++]

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (Windows 8.x and Windows Phone 8.x)

Minimum supported client

Windows 8 [Windows Store apps, desktop apps]

Minimum supported server

Windows Server 2012 [Windows Store apps, desktop apps]

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.Media
Windows::Media [C++]

Metadata

Windows.winmd

Attributes

[DualApiPartition()]
[MarshalingBehavior(Agile)]
[Threading(Both)]
[Version(0x06020000)]

See also

Object
Samples
Media extension sample

 

 

Show:
© 2015 Microsoft