Using Director > Sound, Video, and Synchronization > Playing digital video with Lingo > Determining digital video content with Lingo |  |

Determining digital video content with Lingo

The following are ways that Lingo can determine a digital video's content.

| To determine the time units a digital video cast member uses, check the video's `timeScale` cast member property. See `timeScale`.
| To determine whether a digital video is QuickTime or AVI, check the digital video's `digitalVideoType` cast member property. See `digitalVideoType`.
| To determine the number of tracks in a digital video sprite or cast member, check the digital video's `trackCount` sprite or cast member property. See `trackCount (cast member property)` and `trackCount (sprite property)`.
| To determine which type of media a digital video track contains, check the digital video's `trackType` sprite or cast member property. See `trackType (cast member property)` and `trackType (sprite property)`.
| To determine the start time of a track in a digital video sprite or cast member, check the digital video's `trackStartTime` sprite or cast member property. See `trackStartTime (cast member property)` and `trackStartTime (sprite property)`.
| To determine the stop time of a track in a digital video sprite or cast member, check the digital video's `trackStopTime` sprite or cast member property. See `trackStopTime (cast member property)` and `trackStopTime (sprite property)`.
| To determine whether a sprite's track is enabled to play, check the digital video's `trackEnabled` sprite property. See `trackEnabled`.
| To obtain the text at the current time from a text track in a digital video sprite, check the digital video's `trackText` sprite property. See `trackText`.
| To determine the time of the track just before the current time in a digital video, check the digital video's `trackPreviousSampleTime` cast member property and `trackPreviousKeyTime` sprite property.
| To determine the time of the next sample after the current time in a digital video, check the digital video's `trackNextSampleTime` cast member property and `trackNextKeyTime` sprite property. See `trackNextSampleTime` and `trackNextKeyTime`.