mediaTypes

Typeproperty
DictionaryLCS
LibraryLiveCode Script
Syntax
get the mediaTypes of <player>
Associationsplayer
Summary

Specifies one or more types of media used in a movie.

Introduced1.0
Changes

This document was updated in version 8.1.0 to remove references to QuickTime, as this property is now also supported by the Windows DirectShow-based player.

OSmac, windows
Platformsdesktop
Example
if the mediaTypes of player 1 contains "audio" then increaseLoudness
Values
NameTypeDescription
Value
  • video:
  • audio:
  • text:
  • qtvr:
  • sprite:
  • flash:

This property is read:only and cannot be set

RelatedProperty: trackCount
Glossary: property
Description

Use the mediaTypes property to find out what kinds of media a movie contains.

Most movies provide more than one media type. For example, a typical movie might provide one video and one audio track.

If more than one track in the movie uses the same media type, the media type is specified only once in the mediaTypes property. For example, "audio" appears only once in the mediaTypes, even if the movie contains more than one audio track.

Tagsmultimedia