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 🙏

© 2024 – Pkg Stats / Ryan Hefner

haxif-vue2-video

v1.1.1

Published

更新了许多内容

Downloads

8

Readme

haxif-vue2-video

version: 1.1.0

  • 修复了一些bug
  • 修复全屏问题
  • 更新haxif-vue2-slider版本
  • 新增精确视频进度定位
  • 新增一些过度动画
  • 新增停滞隐藏效果

安装

npm install haxif-vue2-video --save

引用

<template>
  <div>
    <!-- 
      title 快捷标题 不推荐使用
      :speeds 倍速控制器自定义 传值必须数组类型 为保持位数应为String类型内容
      :festival 节日图标,暂只开放已下三种【'bilibili','Bug','Spring Festival'】
     -->
    <haxif-video
      title="快捷标题"
      :speeds="['2.0', '1.5', '1.0', '0.5', '0.25']"
      :festival="Spring Festival"
    >
      <!-- 自定义表头 -->
      <template #title>
        <div style="xxx">
          <h1>标题</h1>
          任意自定义内容,只需保持在规定宽度内即可
        </div>
      </template>
      <!-- 自定义音量按钮图标 -->
      <template #volume-thumb>
        <svg>xxx</svg>
      </template>
      <!-- 自定义缓冲动画(默认居中) -->
      <template #loading>
        <!-- <some img or div with animation> -->
      </template>
      <!-- 视频显示区顶部插槽  -->
      <template #video-top>
        视频顶部可停滞隐藏部分,可用于存放关注按钮等api
      </template>
      <!-- 支持直接插入Local视频资源 -->
      <source src="../assets/海浪30.mp4">
    </haxif-video>
  </div>
</template>
<script>
import haxifVideo from 'haxif-vue2-video'
export default {
  components:{
    haxifVideo
  },
}
</script>

播放器组件分区示意图

分区示意图