npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2025 – Pkg Stats / Ryan Hefner

@ajmariduena/vvideo

v0.1.1

Published

A simple Vue.js Video component

Downloads

7

Readme

vvideo

A simple Vue.js Video component

Demo Here

Installation

npm i @ajmariduena/vvideo --save-dev

Usage

<vvideo 
  source-webm="http://techslides.com/demos/sample-videos/small.webm"
  source-ogg="http://techslides.com/demos/sample-videos/small.ogv"
  source-mp4="http://techslides.com/demos/sample-videos/small.mp4"
  source-3gp="http://techslides.com/demos/sample-videos/small.3gp"
>
</vvideo>

Props

| Prop name | Description | Type | Required | Default value | |---------- |-------- |---------- |---------- |---------- | | source-webm | Path to webm src | String | no | | | source-ogg | Path to ogg src | String | no | | | source-mp4 | Path to mp4 src | String | no | | | source-3gp | Path to 3gp src | String | no | | | play-button | Show play button | Boolean | no | true | | mute-button | Show mute button | Boolean | no | true | | progress-bar | Show progress bar | Boolean | no | true | | full-screen-button | Show fullscreen button | Boolean | no | true | | wrapper-class | Change default wrapper class | String | no | vvideo_wrapper | | video-class | Change default video class | String | no | vvideo | | toolbar-class | Change default progress bar class | String | no | vvideo__toolbar | | button-class | Change default button class | String | no | vvideo__button | | progress-bar-class | Change default progress bar class | String | no | vvideo__progressbar |

Events

| Event name | Description | Parameters | |---------- |-------- |---------- | | click | fire when hello text is clicked | helloText: String |

Slots

Here you can customize vvideo buttons, it can be anything you want.

| Slot name | Description | Accepted Element | |---------- |-------- |---------- | | playIcon | Play button content slot | any | | pauseIcon | Pause button content slot | any | | replayIcon | Replay button content slot | any | | muteIcon | Mute button content slot | any | | muteOffIcon | Unmute button content slot | any | | fullScreenIcon | Fullscreen button content slot | any |

Default styles

Default vvideo styles just for reference.

.vvideo_wrapper {
  width: 500px;
  height: 350px;
  position: relative;
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 15px 30px 0 rgba(0, 0, 0, 0.11),
    0 5px 15px 0 rgba(0, 0, 0, 0.08);
}
.vvideo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.vvideo__toolbar {
  display: flex;
  justify-content: space-between;
  padding: 0 1rem;
  box-sizing: border-box;
  width: 100%;
  height: 50px;
  margin-bottom: 6px;
  position: absolute;
  bottom: 0;
  left: 0;
  align-items: center;
}
.vvideo__button {
  z-index: 2;
  width: 50px;
  height: 100%;
  position: relative;
  appearance: none;
  border: 0;
  background: none;
  outline: 0;
  transition: transform 200ms ease-in-out;
}
.vvideo__button:hover {
  transform: scale(1.2);
}
.vvideo__progressbar {
  flex: 1;
  height: 10px;
  position: relative;
  background: #efefef;
  z-index: 2;
  border-radius: 5px;
  margin: 0 1rem;
  overflow: hidden;
}
.vvideo__progressbar > span {
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0;
  background: #3498db;
  transition: all 300ms linear;
}

Roadmap

  • [ ] Add click to play option

Contributing

See CONTRIBUTING.md for development guide.


This component was generated with vue-authoring-template using vue-cli.