Condividi tramite


Rich Media Programming Model in SharePoint Server 2010 (ECM)

Applies to: SharePoint Server 2010

In this article
Namespaces
Types
JavaScript Object Model

This topic introduces the rich media management programming model. It describes the types and namespaces used in the model, and introduces the methods that are used in rich media management client-side scripting.

Namespaces

This section introduces the namespaces where rich media management APIs reside.

Table 1. Namespaces where rich media management APIs reside

Namespace

Description

Microsoft.SharePoint.Publishing

Includes classes that support media player extensions, caching, and the Content By Query Web Part (CQWP), which can be customized to serve digital media based on custom properties and parameters.

Microsoft.SharePoint.Publishing.Fields

Includes classes that support image fields and media fields, and field values.

Microsoft.SharePoint.Publishing.WebControls

Includes the MediaWebPart class and other Web controls that are used in digital media to render and display images, audio, and video.

Microsoft.SharePoint.Publishing.WebControls.EditingMenuActions

Includes classes that represent editing menu actions that support Web controls used in rich media management.

Types

This section lists notable types used in rich media management programming.

Table 2. Notable types used in rich media management programming

Types

Description

MediaPlayerExtensions

Represents settings for the media player.

MediaField

Represents the field type for media source and display settings.

MediaFieldValue

Represents a field value for media source and display settings.

InsertMediaRibbonButton

Adds a media button to the ribbon.

MediaDisplayMode

Specifies the allowable media player display modes.

MediaFieldControl

A field control capable of displaying the value of a Media field by using a media player.

MediaWebPart

A Web Part that displays media content through the use of a media player.

JavaScript Object Model

This section describes how the rich media management object model interacts with the client object model to display and manage rich media content types such as images, audio, and video. The ECMAScript (JavaScript, JScript) object model for rich media management manages the client-side rendering and display of the media player in three different configurations. The JavaScript object model also supports media player controls, such as playing, seeking, and pausing a video or audio content item.

See Also

Concepts

Enterprise Content Management (ECM) Code Samples for SharePoint Server 2010

Document Management Programming Model in SharePoint Server 2010 (ECM)

Publishing Programming Model in SharePoint Server 2010 (ECM)

Metadata and Taxonomy Programming Model in SharePoint Server 2010 (ECM)

Records Management Programming Model in SharePoint Server 2010 (ECM)

Other Resources

Using the SharePoint Foundation Client APIs

SharePoint 2010 Client Object Model

Differences Between Managed and JavaScript Object Models

mediaPlayer Class