![Introducing Enhanced Alert Actions and Triage Functionality](https://cdn.sanity.io/images/cgdhsj6q/production/fe71306d515f85de6139b46745ea7180362324f0-2530x946.png?w=800&fit=max&auto=format)
Product
Introducing Enhanced Alert Actions and Triage Functionality
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
scrolly-video
Advanced tools
Readme
*** NOTE: THIS LIBRARY IS STILL IN EARLY DEVELOPMENT STAGES ***
A webcomponent built with svelte for scroll-based (or other externally controlled) playback.
<scrolly-video src="https://your-video-url.mp4" />
</body>
):<script src="https://cdn.jsdelivr.net/npm/scrolly-video@latest/dist/scrolly-video.js" />
You can replace @latest
with specific version, example @1.0.0
.
Below is available a description of options
values.
npm install scrolly-video --save
<scrolly-video src="https://your-video-url.mp4" />
require("scrolly-video");
or
import "scrolly-video";
Below is available a description of options
values.
npm install scrolly-video --save
:src/App.js
on header:import "scrolly-video";
App.js
template:<scrolly-video src="https://your-video-url.mp4" />
npm install scrolly-video --save
:app/app.modules.ts
on header:import "scrolly-video";
<scrolly-video src="https://your-video-url.mp4" />
npm install scrolly-video --save
:src/App.svelte
on header:import "scrolly-video";
<scrolly-video src="https://your-video-url.mp4" />
npm install scrolly-video --save
:src/App.vue
and add webcomponent to ignoreElements of vue config:import Vue from "vue";
import "scrolly-video";
Vue.config.ignoredElements = ["scrolly-video"];
<scrolly-video src="https://your-video-url.mp4" />
Any props added to this element will are passed into a standard HTML <video />
tag.
Additional parameters:
Parameter | Description | Values | Default value |
---|---|---|---|
transitionSpeed | Sets the maximum playbackRate for this video | Number | 6 |
Additionally, there are two functions provided to set the currentTime:
setCurrentTime (setTime | Number
): A number between 0 and video.duration that specifies the number of seconds into the video.
setCurrentTimePercent (setPercentage | Number
): A number between 0 and 1 that specifies the percentage position of the video.
<scrolly-video src="https://your-video-url.mp4" />
FAQs
A component for scroll-based (or other externally controlled) playback.
The npm package scrolly-video receives a total of 508 weekly downloads. As such, scrolly-video popularity was classified as not popular.
We found that scrolly-video demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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.
Product
Socket now supports four distinct alert actions instead of the previous two, and alert triaging allows users to override the actions taken for all individual alerts.
Security News
Polyfill.io has been serving malware for months via its CDN, after the project's open source maintainer sold the service to a company based in China.
Security News
OpenSSF is warning open source maintainers to stay vigilant against reputation farming on GitHub, where users artificially inflate their status by manipulating interactions on closed issues and PRs.