Giter Site home page Giter Site logo

media's Introduction

media.js

利用input标签进行拍照和拍摄视频,支持直接拍摄和从相册选取,支持图片压缩

开发

安装 git clone https://github.com/5v5/media.git npm install

编译 npm run build

Usage

微信、和手机浏览器都可以使用,ios的webview可以直接使用,Android的webview需要开发支持,参照:https://blog.csdn.net/earbao/article/details/50716747

FAQ

Q. 是怎么进行压缩的 A.利用Mega pixel image 进行压缩,参照:https://github.com/stomita/ios-imagefile-megapixel/blob/master/README.md

Note

media's People

Contributors

5v5 avatar

Watchers

James Cloos 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.