
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
ndla-video-search
Advanced tools
A simple library for selecting NDLA videos.
$ npm install ndla-video-search
/* Your project's main .scss import file */
@import '~ndla-video-search/scss/video-search'; // with webpack and sass-loader
@import '../path/to/node_modules/ndla-video-search/scss/video-search'; // direct reference
To use the VideoSearch component, some functions for handling search and fetching video is needed. In addition, some translations is needed.
import VideoSearch from 'ndla-video-search';
const videoSelector = image => {
// handle video
};
const searchVideos = (query, type) => {
//return a promise
};
const translations = {
searchPlaceholder: 'Search videos',
searchButtonTitle: 'Search',
loadMoreVideos: 'Load more videos',
noResults: 'Noe videos found',
addVideo: 'Use video',
previewVideo: 'Preview',
publishedDate: 'Published date',
duration: 'Duration',
interactioncount: 'Views',
};
<VideoSearch
onVideoSelect={videoSelector}
searchVideos={searchVideos}
translations={translations}
locale="nb"
enabledSources={['Brightcove', 'YouTube']}
/>;
| Props | Type | Required | Description |
|---|---|---|---|
| onVideoSelect | func | * | |
| searchVideos | func | * | |
| translations | object | * | |
| locale | string | * | |
| enabledSources | array |
FAQs
A simple library for searching NDLA videos
We found that ndla-video-search demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.