Cmdlets for WordPress

Build 25.0.9434

UploadTracks

Upload a subtitle/caption track for a specified VideoPress video.

Stored Procedure Specific Information

Execute

Call this procedure to upload a subtitle/caption track for a specified VideoPress video. To upload a subtitle/caption track for a specified VideoPress video, you must specify the following columns: GUID, Kind, SrcLang and Label. For example:

EXEC UploadTracks GUID='529DrhwH', Kind='"subtitles"', SrcLang='"en"', label='"englsih"', file='"D:\\wordpress_vide.vtt"';

Input

Name Type Description
GUID String The globally unique identifier (GUID) of the video to which the track is attached.
Kind String Specifies the type of track to upload. Supported values include subtitles, captions, descriptions, chapters, or metadata.
Label String A user-friendly label that identifies the track within the video player.
SrcLang String The language code of the track, following ISO 639-1 format (for example, 'en' for English).
FileLocation String The local path to a .vtt (WebVTT) track file to be uploaded and attached to the video.
FileName String The name of the track file being uploaded. Required when FileLocation is not defined.

Result Set Columns

Name Type Description
Success String Indicates whether the track upload completed successfully.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434