Giter Site home page Giter Site logo

kaltura's People

Contributors

patricksrobertson avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

kaltura's Issues

Using Kaltura with multiple Accoutns

I had an application in which all users could have their own Kaltura Credentials. The gem is aimed at one credential set per application, but you can reconfigure it in runtime. Importantly, you need to restart the kalutra session when doing so. It took me a couple of hours to figure this out, I hope this note helps someone.

def kaltura_api
    Kaltura.configure do |config|
        config.partner_id = current_user.kaltura_partner_id 
        config.administrator_secret = current_user.kaltura_administrator_secret 
        # config.service_url = current_user.kaltura_service_url
    end

    # now restart Kaltura, or you'll keep the last known credentials
    Kaltura::Session.start

    # get an entry with the credentials of the current_user
    entry = Kaltura::MediaEntry.get( params[:id] )
end

Building more tests

Hi there,

I'm adding some functionality to this gem to support more data types from Kaltura. I'd like to write some tests as well so that you can pull my changes, but I was just wondering if you had a particular methodology for recording the VCR cassettes for the tests?

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.