Share via


Insert an audio or video file into the active document (Blend for Visual Studio)

In Blend for Visual Studio 2012, you can now drag supported audio or video files onto the artboard from outside Blend, and also use the Insert feature of the Projects panel. Audio and video files are added to the artboard wrapped in a MediaElement control. To use the Insert feature, the file must be one of the supported types listed in Inserting audio and video (Blend for Visual Studio).

To add an audio or video file to a project

  • On the Project menu, click Add Existing Item. Browse to the location of the audio or video file that you want to add to the current project, and then click Open.

  • Drag the file from a folder in File Explorer or from your desktop into the Projects panel.

To insert an audio or video file into the active document

  • Do one of the following:

    • In the Projects panel, double-click an audio or video file, or right-click an audio or video file, and then click Insert. Or, if you want to add the media file as a child object in another object in the document, click that object in the Objects and Timeline panel to make it the active object, and then insert the audio or video file.

    • Drag an audio or video file from the Projects panel onto the artboard.

See Also

Tasks

Remove an audio or video file (Blend for Visual Studio)