|
|
| |
| |
|
|
| |
|
PKL_SetPlayheadSeconds() |
|
Description
Allows you to set the play head to a specific point in the timeline based on seconds. You can use the PKL_GetInfo() to determine the playhead position and/or the total amount of the file that has been loaded.
NOTE: The "second" sent in as the argument must be available. For example, if attempting to set to second 1800 (30 minutes into a video) but the file is only 10% loaded, the playhead will only go to the maximum amount of time available.
Usage
PKL_SetPlayheadSeconds(SomeNumber:Number) :Void
Parameters
SomeNumber:Number - A number representing the "seconds" you wish to advance the palyhead to.
Returns
Nothing
Example Code
The following will set the playhead position to 60 seconds (1 minute) into the media:
<script language="javascript">
PKL_SetPlayheadSeconds(60);
</script>
|
|
|
|
 |
 |
 |
|
| |
|
|
|