useVideoPlaybackState(): String (enum)
Returns the video playback state of the composition. You can import
PlaybackStateType from the same file to get the enum values:
You can end your composition with any visuals you want to display at the end of the output video file (e.g. end titles) when the playback state is
'postroll'. The postroll will be at least 300ms long, allowing you to also render an optional fade.