### Set Start Time and Preload in Cloudflare Stream React Player Source: https://context7.com/cloudflare/stream-react/llms.txt This example shows how to control the initial playback position and preload behavior of the Cloudflare Stream player. The `startTime` prop can accept either a string in 'h:m:s' or 'm:s' format, or a number in seconds. The `preload` prop controls how much of the video should be loaded before playback starts. ```tsx import React from 'react'; import { Stream } from '@cloudflare/stream-react'; function TimestampedVideo() { return (
State: {playbackState}
Time: {Math.floor(currentTime)}s / {Math.floor(duration)}s
{adPlaying &&Ad Playing...
}.cloudflarestream.com
*/
customerCode?: string;
/**
* Setting this value seeks the video to a new time. Note that seeking only occurs when a new value is set. If this is problematic for your use-case, consider using the streamRef prop to set the currentTime directly on
* the stream player which will seek every time the value is set.
*/
currentTime?: number;
/**
* A Boolean attribute which indicates the default setting of the audio contained in the video. If set, the audio will be initially silenced.
*/
muted?: boolean;
/**
* Any valid CSS color value provided will be applied to the letterboxing/pillarboxing of the player’s UI. This can be set to transparent to avoid letterboxing/pillarboxing when not in fullscreen mode.
* https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
*/
letterboxColor?: string;
/**
* A Boolean attribute; if included the player will automatically seek back to the start upon reaching the end of the video.
*/
loop?: boolean;
/**
* A `double` that indicates the rate at which the media is being played back.
*/
playbackRate?: number;
/**
* This enumerated attribute is intended to provide a hint to the browser about what the author thinks will lead to the best user experience. You may choose to include this attribute as a boolean attribute without a value, or you may specify the value preload="auto" to preload the beginning of the video. Not including the attribute or using preload="metadata" will just load the metadata needed to start video playback when requested.
*
* The