playerPropertyAvailable

Typemessage
DictionaryLCS
LibraryLiveCode Script
Syntax
playerPropertyAvailable <pPropertyName>
Summary

Sent when sufficient information about a given property has become available.

Introduced4.6
OSios, android
Platformsmobile
Parameters
NameTypeDescription
pPropertyName

The name of the property that has become available. These properties can be:

"duration": The duration of the movie, measured in milliseconds.
"naturalSize": The raw size of a video frame in pixels.
Example
on playerPropertyAvailable pPropertyName
    if pPropertyName is "duration" then
        answer "You can now query the length of the movie"
    end if
end playerPropertyAvailable
RelatedMessage: playerFinished, playerError, playerLeaveFullscreen, playerStopped, playerProgressChanged, playerMovieChanged, playerEnterFullscreen
Description

Handle the playerPropertyAvailable message when sufficient information about a given player property has become available so that information about that property can be accessed.