ADO.NET Provider 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 Accepts Input Streams Description
GUID String False The globally unique identifier (GUID) of the video to which the track is attached.
Kind String False Specifies the type of track to upload. Supported values include subtitles, captions, descriptions, chapters, or metadata.
Label String False A user-friendly label that identifies the track within the video player.
SrcLang String False The language code of the track, following ISO 639-1 format (for example, 'en' for English).
FileLocation String False The local path to a .vtt (WebVTT) track file to be uploaded and attached to the video.
Content String True The raw InputStream content of the track file to upload when FileLocation is not specified.
FileName String False 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