Git Product home page Git Product logo

betajs-media-components's Introduction

betajs 1.0.245

Build Status Code Climate NPM Gitter Chat

BetaJS is a general-purpose JavaScript helper module. It contains a variety of helper functions and classes.

Getting Started

You can use the library in the browser, in your NodeJS project and compile it as well.

Browser

	<script src="betajs/dist/betajs.min.js"></script>

NodeJS

	var BetaJS = require('betajs/dist/beta.js');

Compile

	git clone https://github.com/betajs/betajs.git
	npm install
	grunt

Basic Usage

The BetaJS module contains a variety of low-level helper libraries, particularly:

  • Asynchronous behaviour and Promises
  • Object Orientation
  • Event Handling
  • Dynamic Lists and Collections
  • Dynamic Properties
  • Remote Method Invocation
  • String Manipulation and Templating
  • Binary Search Trees
  • Timers and Time
  • Iterators
  • Uris
  • State Machine and Abstract Routing

Properties

	var properties = new BetaJS.Properties.Properties({foobar: "initial value"});

	properties.set("foobar", "second value");

	var value = properties.get("foobar");
	// value === "second value"
	
	properties.of('change:foobar', function(newValue, oldValue) {
		console.log('The value of foobar has been changed from', oldValue, 'to', newValue);
	});

Object Orientation

  TestClass = BetaJS.Class.extend(null, {
  
    y: 0,
  
    fooBar: function (x) {
      console.log("Test Class Instance", "fooBar", x, y);
    }
    
  }, {
  
    staticFooBar: function (x) {
      console.log("Test Class", "staticFooBar", x);
    }
    
  });
  TestClass.staticFooBar(5);
  var first = new TestClass();
  first.y = 1;
  first.foobar(2);
  var second = new TestClass();
  second.y = 3;
  second.foobar(4);
  Test Class  staticFooBar  5
  Test Class Instance  fooBar  2  1
  Test Class Instance  fooBar  4  3

Events

	var events = new BetaJS.Events.Events();

	events.trigger("event_name", event_data1, event_data2);

	events.on("event_name", function (event_arg1, event_arg2) {
		// Do something
	}, function_context);

	events.off("event_name", null, function_context);

Links

Resource URL
Homepage https://betajs.com
Git git://github.com/betajs/betajs.git
Repository https://github.com/betajs/betajs
Blog https://blog.betajs.com
Twitter https://twitter.com/thebetajs
Gitter https://gitter.im/betajs/betajs

Compatability

Target Versions
Firefox 3 - Latest
Chrome 18 - Latest
Safari 4 - Latest
Opera 12 - Latest
Internet Explorer 6 - Latest
Edge 12 - Latest
iOS 3.0 - Latest
Yandex Latest
Android 4.4 - Latest
NodeJS 4.0 - Latest

CDN

Resource URL
beta.js http://cdn.rawgit.com/betajs/betajs/master/dist/beta.js
beta.min.js http://cdn.rawgit.com/betajs/betajs/master/dist/beta.min.js
beta-noscoped.js http://cdn.rawgit.com/betajs/betajs/master/dist/beta-noscoped.js
beta-noscoped.min.js http://cdn.rawgit.com/betajs/betajs/master/dist/beta-noscoped.min.js

Unit Tests

Resource URL
Test Suite Run

Weak Dependencies

Name URL
betajs-scoped Open
betajs-shims Open

Main Contributors

  • Oliver Friedmann
  • Victor Lingenthal

License

Apache-2.0

Credits

This software may include modified and unmodified portions of:

  • Underscore, MIT Software License, (c) 2009-2013 Jeremy Ashkenas, DocumentCloud
  • parseUri, MIT Software License, (c) Steven Levithan

Sponsors

  • Ziggeo
  • Browserstack

betajs-media-components's People

Contributors

ahmedrowaihi avatar amansaurabh avatar amrit2611 avatar bane-d avatar bebora avatar camilorecce avatar dzikrisyairozi avatar edmundsbankai avatar fcapovilla avatar getyamame avatar github-actions[bot] avatar gonmmarques avatar gregorygregio avatar ibnutri avatar iglesiaspablo avatar josewd avatar jscastanos avatar mathias-videocv avatar maxblessed avatar michelemarschner avatar muhammed-moinuddin avatar ntshcalleia avatar oliverfriedmann avatar pansem avatar sambua avatar syarol avatar yoryi avatar ziggeo-commits avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

betajs-media-components's Issues

Add new languages and proofread existing translations

BetaJS currently supports over 30 different languages and we’re really proud of that! We want to make our software accessible to as many people as possible. Unfortunately keeping all of those translations updated as we add new features can be quite overwhelming, so we’re asking for your help!

You can find all locale files here and a list with the original English strings here. Whenever a new string is added we either translate them ourselves or use machine translation so that all languages are up-to-date, we’re looking for help with proofreading the content that was machine translated.

To open a PR you just need to follow these instructions:

  • Files should be in UTF-8 format
  • Do not change the string labels, only the actual string
  • Write a comment here telling us which language you’re working on

Couldn’t find your language? We’d love to support it as well! Feel free to open a PR for a new language following the same instructions above. The file name should be the language’s ISO 639-1 code.

Chome doesn't show the video poster/cover after recording

On Chrome 67.0.3396.99 (Mac OSX 10.13.6) after recording a video with your recorder i see a black box instead of the cover.

I believe that Chrome has problems showing the image from the blob created in javascript.
That or it doesn't like showing images inside the video tag, i tried setting it as the poster property but it doesn't work too.

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.