
Research
/Security News
Critical Vulnerability in NestJS Devtools: Localhost RCE via Sandbox Escape
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
vue-md-player
Advanced tools
Lightweight HTML5 video and audio player component for Vue.
Vue 3
npm install --save vue-md-player
<template>
<div>
<audio-player src="./audio.mp3" />
<video-player src="./video.mp4" />
</div>
</template>
<script>
import { AudioPlayer, VideoPlayer } from 'vue-md-player'
import 'vue-md-player/dist/style.css'
export default {
components: {
AudioPlayer,
VideoPlayer
}
}
</script>
Property | Player | Type | Default | Description |
---|---|---|---|---|
autoplay | Video Audio | Boolean | false | Play automatically as soon as it can do. |
contain | Video | Boolean | false | Fit the video to container size. |
crossorigin | Video Audio | String | - | Read on MDN |
double-click-fullscreen | Video | Boolean | false | Go to fullscreen mode by double-click on the video. |
light | Video Audio | Boolean | false | Enable light theme. |
loop | Video Audio | Boolean | false | Automatically seek back to the start upon reaching the end of the audio/video. |
muted | Video Audio | Boolean | false | Indicates whether the audio will be initially silenced. |
playsinline | Video | Boolean | false | Some browsers prefer to play video in fullscreen, force them to play inline. |
poster | Video | String | - | A URL for an image to be shown while the video is downloading. |
preload | Video Audio | String | metadata | none : Indicates that the audio/video should not be preloaded.metadata : Indicates that only audio/video metadata (e.g. length) is fetched.auto : Indicates that the whole audio/video file can be downloaded, even if the user is not expected to use it. |
src | Video Audio | String | - | The URL of the video or audio to embed. |
FAQs
Lightweight HTML5 video and audio player component for vuejs
The npm package vue-md-player receives a total of 87 weekly downloads. As such, vue-md-player popularity was classified as not popular.
We found that vue-md-player demonstrated a not healthy version release cadence and project activity because the last version was released 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.
Research
/Security News
A flawed sandbox in @nestjs/devtools-integration lets attackers run code on your machine via CSRF, leading to full Remote Code Execution (RCE).
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.