BetaJS-Media is a JavaScript media framework
You can use the library in the browser and compile it as well.
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js"></script>
<script src="betajs/dist/betajs.min.js"></script>
<script src="betajs-browser/dist/betajs-browser.min.js"></script>
<script src="betajs-flash/dist/betajs-flash.min.js"></script>
<script src="betajs-media/dist/betajs-media.min.js"></script>
git clone https://github.com/betajs/betajs-media.git
npm install
grunt
<video></video>
var webrtc = BetaJS.Media.WebRTC.RecorderWrapper.create({
video: $("video").get(0)
});
<video autoplay loop poster="movie.png">
<source src="movie.mp4" type="video/mp4" />
</video>
BetaJS.Media.Player.FlashPlayer.polyfill($("video").get(0)).success(function (video) {
});
Resource | URL |
---|---|
Homepage | http://betajs.com |
Git | git://github.com/betajs/betajs-media.git |
Repository | https://github.com/betajs/betajs-media |
Blog | http://blog.betajs.com |
http://twitter.com/thebetajs | |
Gitter | https://gitter.im/betajs/betajs-media |
Target | Versions |
---|---|
Firefox | 32 - Latest |
Chrome | 18 - Latest |
Safari | 4 - Latest |
Opera | 25 - Latest |
Internet Explorer | 8 - Latest |
Edge | 12 - Latest |
iOS | 4.0 - Latest |
Android | 2.3 - Latest |
Resource | URL |
---|---|
betajs-media.js | http://cdn.rawgit.com/betajs/betajs-media/master/dist/betajs-media.js |
betajs-media.min.js | http://cdn.rawgit.com/betajs/betajs-media/master/dist/betajs-media.min.js |
betajs-media-noscoped.js | http://cdn.rawgit.com/betajs/betajs-media/master/dist/betajs-media-noscoped.js |
betajs-media-noscoped.min.js | http://cdn.rawgit.com/betajs/betajs-media/master/dist/betajs-media-noscoped.min.js |
Resource | URL |
---|---|
Test Suite | Run |
Name | URL |
---|---|
betajs | Open |
betajs-browser | Open |
betajs-flash | Open |
Name | URL |
---|---|
betajs-scoped | Open |
betajs-shims | Open |
- Ziggeo
- Oliver Friedmann
Apache-2.0
This software may include modified and unmodified portions of:
- TypedArray, From microphone to .WAV with: getUserMedia and Web Audio, (c) Thibault Imbert
- Media Stream Recorder, https://github.com/streamproc/MediaStreamRecorder
- Whammy Recorder, https://github.com/antimatter15/whammy
- Ziggeo
- Browserstack