Skip to content

feat(caption): Add caption control#101

Open
albuFlaviu17 wants to merge 6 commits into
masterfrom
feat/add-caption-control
Open

feat(caption): Add caption control#101
albuFlaviu17 wants to merge 6 commits into
masterfrom
feat/add-caption-control

Conversation

@albuFlaviu17
Copy link
Copy Markdown
Collaborator

No description provided.

Comment thread packages/media-console/src/types.ts Outdated
disableFullscreen?: boolean;

/**
* Show the caption button
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* Show the caption button
* Hide the caption button

const [currentTime, setCurrentTime] = useState(0);
const [error, setError] = useState(false);
const [duration, setDuration] = useState(0);
const [isCaption, setIsCaption] = useState<boolean>(false);
Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
const [isCaption, setIsCaption] = useState<boolean>(false);
const [isCaptionEnabled, setIsCaptionEnabled] = useState<boolean>(false);

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants