Git Product home page Git Product logo

videodemo's Introduction

vue-admin-template

vue 中使用 Alipayer,播放 rtmp,m3u8,mp4 视频

包括videojs,西瓜视频播放器,阿里云播放器等使用案例

基于以下二次开发

vue2后台管理模板:https://github.com/PanJiaChen/vue-admin-template

阿里云vue依赖:https://github.com/langyuxiansheng/vue-aliplayer-v2

阿里云接口:https://help.aliyun.com/zh/vod/developer-reference/api-operations?spm=a2c4g.11186623.6.1085.36fc6fc57WKZ5P

预览示例1

这个示例为直播模式,点击复选框会销毁

1722846605687

预览示例2

这个示例,点击复选框后,禁用取消复选框,但提供了下侧按钮销毁

1722846459909

视频回放示例

这个示例,有进度条,可倍数播放

1722846561637

路由在public下配置,主要是模拟接口QQ,动态路由渲染

1722847576754

这是一个极简的 vue admin 管理后台。它只包含了 Element UI & axios & iconfont & permission control & lint

根据用户权限来动态生成侧边栏和 router

目前版本为 v4.0+ 基于 vue-cli 进行构建

Build Setup

# nvm install 16.18.0
#nvm use 16.18.0

# 克隆项目
git clone https://gitee.com/lhj20011106/m3u8_aliplayer_vue2_admin

# 进入项目目录
cd xxxx

# 安装依赖
npm install

# 建议不要直接使用 cnpm 安装以来,会有各种诡异的 bug。可以通过如下操作解决 npm 下载速度慢的问题
npm install --registry=https://registry.npm.taobao.org

# 启动服务
npm run dev

浏览器访问 http://localhost:8888

发布

# 构建测试环境
npm run build:stage

# 构建生产环境
npm run build:prod

其它

# 预览发布环境效果
npm run preview

# 预览发布环境效果 + 静态资源分析
npm run preview -- --report

# 代码格式检查
npm run lint

# 代码格式检查并自动修复
npm run lint -- --fix

Browsers support

Modern browsers and Internet Explorer 10+.

IE / Edge
IE / Edge
Firefox
Firefox
Chrome
Chrome
Safari
Safari
IE10, IE11, Edge last 2 versions last 2 versions last 2 versions

Copyright (c) 2023-present

videodemo's People

Contributors

jack200111 avatar

Watchers

 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.