Skip to main content

tracks

Type​

property

Summary​

Lists all the tracks in a movie.

Syntax​

get the tracks of <player>

Description​

Use the tracks property to find out the contents of a movie.

A movie can contain multiple tracks intended to be played at the same time (for example, an audio and a video track), or tracks that are separate (for example, an alternative audio track). You specify which tracks are active using the enabledTracks property.

Track media types The track media type may be one of the following values:

  • "vide": Video data
  • "soun": Audio data
  • "muxx": Combined video & audio data stream
  • "meta": File metadata (MacOS X only)
  • "sbtl": Subtitle data
  • "tmcd": Timecode data (MacOS X only)
  • "clcp": Closed caption data (MacOS X only)

Examples​

put the tracks of player myPlayerName into myNode

Value​

NameTypeDescription

value

enum

The tracks is a list of tracks, one per line. Each line consists of four items, separated by commas:

  • the track ID (an integer)
  • the track media type (a string) This property is read-only and cannot be set

glossary: property

keyword: items, line

property: duration, trackCount

Compatibility and Support​

Introduced

LiveCode 1.0

OS

mac

windows

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?