Coder Social home page Coder Social logo

myapp's Introduction

chaitiao

A Vue.js project

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

函数方法

scale_css(int):卡尺的刻度显示样式的改变;

scale_width():未定义;

add_btn(index):nav的按钮增加事件;

cover_video():canvas画布的生成视频;

paly_m3u8():播放m3u8的视频调用函数;

re_id: 刻度上显示时间进行返回值改变;

基本属性

video_obj: video标签的对象;

interval_canvas: 定时器-不断截取视频图片(20ms);

interval_videoState: 定时器-不断获取视频的就绪状态(20ms);

nav_list: nav的功能区的变量;

video_time: 视频的时长;

video_time_int: 视频时长(整数);

scaleSize: 卡尺的基本单位px;

video_time_already: 卡尺的显示数量;

video_is_play: 视频是否正在播放;

video_is_ended: 视频是否结束;

video_current_time: 视频当前播放的时间点;

videoState: 视频的就绪状态;

loadingCss: 加载css的样式(视频未就绪则显示);

video_tracks_list: 视频轨(列表);

subtitle_tracks_list: 字幕轨(列表);

logo_tracks_list: 图片轨(列表);

监听的属性

video_is_play: 监听视频是否正在播放;

video_is_ended: 监听视频是否正在结束;

videoState: 监听视频的就绪状态;

过滤器

demo: 显示视频时间进行格式化;

filter_ten_num: 过滤可以被10整除的数字;

myapp's People

Contributors

zaipass avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.