Skip to content

iocdacc/VsPlayVideo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

61 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VsPlayVideo

美观的视频播放器 Video player

简介

1.暂时不支持手机端(未测试)
2.W3C关于自动播放的政策 Chrome v66版本开始限制了单位时间内打开同一网页时自动播放的次数 超过次数时自动播放会报错 手动开始播放正常

演示地址

https://iocdacc.github.io/VsPlayVideo/

使用方法

<head>

<script src="./dist/vsPlayVideo.min.js"></script>

</head>
<body>

...

<div id="vsPlayVideo"></div>

...

<script>
    var player = new vsPlayVideo({
        src:"https://www.runoob.com/try/demo_source/movie.ogg"
    });
</script>
</body>

About

📺 mini video player

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published