
Security News
Open VSX Begins Implementing Pre-Publish Security Checks After Repeated Supply Chain Incidents
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.
@times-stories/transcript-page
Advanced tools
> The transcript page for the `@times-stories` suite of packages
The transcript page for the
@times-storiessuite of packages
$ yarn add @times-stories/transcript-page
This component allows you to render an auto-playing (muted by default) audio player with scrolling transcript words.
You must provide both the audio source, and the transcribed words (with start
time, duration, and the word itself – see below for an example). Services such
as Trint can provide data in a similar format to this. You
can find a full example in stories/fixtures/words.js.
The showMuteOnboarding and onMuteOnboardingClose props are left for you to
determine the logic. You may choose to store a flag in localstorage so the
unmute logic is not shown in the future, or you may choose to show it on the
first slide. By default, the template will not close the tooltip when dismissed
unless you implement onMuteOnboardingClose.
import Story from "@times-stories/story";
import Page from "@times-stories/page";
import TranscriptPage from "@times-stories/transcript-page";
const backgroundImage = {
src: "url/to/image",
focusPoint: {
x: 50,
y: 50
}
};
const words = [
{ start: 700, duration: 15, word: "Hello" },
{ start: 715, duration: 20, word: "world" }
];
class MyStory extends React.Component {
state = {
showOnboarding: true
};
toggleOnboarding = () => {
this.setState(({ showOnboarding }) => ({
showOnboarding: !showOnboarding
}));
};
render() {
const { showOnboarding } = this.state;
return (
<Story>
<Page>
{props => (
<TranscriptPage
{...props}
source="/path/to/audio/file.mp3"
words={words}
backgroundImage={{
src: backgroundImage,
focusPoint: {
x: 50,
y: 50
}
}}
showMuteOnboarding={showOnboarding}
onMuteOnboardingClose={this.toggleOnboarding}
/>
)}
</Page>
</Story>
);
}
}
FAQs
> The transcript page for the `@times-stories` suite of packages
We found that @times-stories/transcript-page demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Following multiple malicious extension incidents, Open VSX outlines new safeguards designed to catch risky uploads earlier.

Research
/Security News
Threat actors compromised four oorzc Open VSX extensions with more than 22,000 downloads, pushing malicious versions that install a staged loader, evade Russian-locale systems, pull C2 from Solana memos, and steal macOS credentials and wallets.

Security News
Lodash 4.17.23 marks a security reset, with maintainers rebuilding governance and infrastructure to support long-term, sustainable maintenance.