Coder Social home page Coder Social logo

papercuptech / cordova-plugin-opentok Goto Github PK

View Code? Open in Web Editor NEW

This project forked from opentok/cordova-plugin-opentok

0.0 1.0 0.0 107.68 MB

Cordova Plugin for OpenTok - add webrtc video to your iOS or Android App

License: MIT License

JavaScript 60.21% Java 18.12% Objective-C 12.16% CoffeeScript 9.50%

cordova-plugin-opentok's Introduction

Cordova Plugin for OpenTok iOS and Android

OpenTok Labs

Disclaimer: This plugin is based on the Cordova OpenTok Plugin. Please keep in mind that this is an OpenTok Labs project which means that it's not officially supported by TokBox.

Sample code

To see the plugin in action, please check out opentok-cordova-samples.

Using Cordova CLI

Make sure You have Cordova 3.5.0 or greater installed. If you haven't, take a look at the Cordova instructions Page.

  1. Clone this repo to get the source code for the OpenTok Cordova plugin

  2. To install the OpenTok Cordova plugin, run the following command in the root of your project:

cordova plugin add cordova-plugin-opentok
  1. To remove OpenTok Cordova plugin 3.2.0 and above, use the following command:
cordova plugin remove cordova-plugin-opentok
  1. To remove the old OpenTok Cordova plugin, use the following command:
cordova plugin remove com.tokbox.cordova.opentok

Getting Started on your Project:

All your editing will be done in your www folder.

To use the opentok library, make sure you include opentok.js file in your HTML document.
<script type="text/javascript" charset="utf-8" src="opentok.js"></script>

All JavaScript code should be written in onDeviceReady function in /js/index.js because it is executed after all dependencies has loaded.

    onDeviceReady: function() {
        // Do Your Stuff Here!
    }

Development and Contributing

Interested in contributing? We love pull requests! See the Contribution guidelines.

cordova-plugin-opentok's People

Contributors

adamtreineke avatar amatakasap avatar anthonyzou avatar aoberoi avatar darkpgx avatar gacord23 avatar ggoldens avatar gitter-badger avatar jeffswartz avatar jkamke avatar liratanak avatar mark-veenstra avatar mattinsler avatar msach22 avatar rishi-livewiretax avatar rishihahs avatar shaundon avatar songz avatar wobbals avatar wolfenrain 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.