-
js的一个日期控件,可以实现日历的效果,减少了输入日期格式不正确的失误...
js的一个日期控件,可以实现日历的效果,减少了输入日期格式不正确的失误-js
- 2022-03-21 00:21:26下载
- 积分:1
-
FrCapture-master
说明: ## 视频截图工具
可以在预览视频的时候选择一个适合的界面把它截取下来,并存成图片。
## 使用
### 简单使用
主要文件:
```
<script src="poster.js"></script>
```
在视频预览界面调用:
```
poster($('video')[0],function(e){
//console.log(e);
if(e.bool){
//输出文件对象
var blob=e.data;//返回的是blob对象
console.log(blob);
p.src=window.URL.createObjectURL(e.data);//创建一个临时预览路径
}
});
```
### 使用extendvideo.js
`extendvideo.js`与`poster.js`不同的是前者会在引入它的页面里每个`video`标签里增加一个`getPoster()`方法
。
用法:
```
var blob=$('video')[0].getPoster();//返回图片blob对象
```
## 原理
此视频截图工具,采用了canvas绘图函数实现video图片截取,产生base64编码图片信息,再通过转blob。
你的浏览器需要支持`HTML5`(### simple to use
Main documents:
.
<script src= "poster.js" ></script>
.
Call on the video preview interface:
.
Poster ($('video') [0], function (E) {)
//console.log (E);
If (e.bool) {
/ / output file object
Var blob=e.data; / / return is blob
Console.log (BLOB);
P.src=window.URL.createObjectURL (e.data); / / create a temporary preview path
}
});
.
The use of extendvideo.js ###
The difference between `extendvideo.js` and `poster.js` is that the former adds a `getPoster () method to each `video` tag in the page that is introduced to it.
.
Usage:
.
Var blob=$('video') [0].getPoster (BLOB); / / return picture object
.
## principle
This video capture tool uses a canvas drawing function to intercept video pictures, generate Base64 coded picture information, and then transfer blob.
## compatibility
Your browser needs to support `HTML5`)
- 2018-01-16 10:49:42下载
- 积分:1
-
Using javascript to achieve the date chosen, is a text box form.
用javascript实现日期选择,是文本框形式的。 -Using javascript to achieve the date chosen, is a text box form.
- 2023-08-21 23:20:03下载
- 积分:1
-
video.js
视频播放组件,可以跟vue.js,react.js等框架套用 ,或者可以做一些修改(Video playback component)
- 2018-05-07 11:58:36下载
- 积分:1
-
snake
基于JavaScript编写实现的原生贪食蛇代码,有些Bug啊,蛇不能回头,挺简洁的游戏界面,蛇的控制做的挺不错(JavaScript-based Snake write native code to achieve some Bug ah, the snake can not go back, very simple game interface, the snake did pretty good control)
- 2013-08-11 11:20:33下载
- 积分:1
-
capture
javascript实现的简单截屏插件功能(javascript to achieve a simple plug-in screenshot function)
- 2014-01-15 14:06:58下载
- 积分:1
-
java-read-word-file
jquery 树型控制,使用简单,大方美 观(java )
- 2013-05-01 07:48:09下载
- 积分:1
-
myself
说明: js控制尺子滑动,根据滑动距离计算尺子的当前值(JS controls the sliding of the ruler and calculates the current value of the ruler according to the sliding distance)
- 2020-06-17 07:20:01下载
- 积分:1
-
vue开发
这是一个基于Vue+Webpack构建的简单chat示例,聊天记录保存在localStorge。简单演示了Vue的基础特性和webpack配置。
- 2022-04-22 20:26:15下载
- 积分:1
-
HTML5上传插件
用HTML5做出来的一个上传插件
- 2015-12-30下载
- 积分:1