Nibble Plum Meringue

    @consuo/web-component-up-next

    0.1.3 • Public • Published

    @consuo/web-component-up-next

    A simple Web component that from the Consuo Schedule API fetches what is currently playing and what is up next.

    Up next Screenshot

    Install

    npm install --save @consuo/web-component-up-next
    

    Tutorial

    As this is a standard Web Component you can use it as any other html element, when imported.

    Import the web component class in your JavaScript

    import "@consuo/web-component-up-next";

    and use it in your html

    <consuo-up-next api-url="" channel-id="" update-interval=""></consuo-up-next>

    or entirely in JavaScript, just as any other standard html element.

    import '@consuo/web-component-up-next';
    
    const consuoUpNext = document.createElement("consuo-up-next");
    consuoUpNext.setAttribute("api-url", api_url);
    consuoUpNext.setAtribute("channel-id", channel_id);
    
    container.appendChild(consuoUpNext);

    Properties

    • api-url: string required

      URI to the Consuo Schedule endpoint.

    • channel-id: string required

      The ID of the channel.

    • update-interval: number

      If provided the component is updated by the specified interval in seconds.

    About Consuo

    Consuo is a software component (Docker container) that can be plugged into your online video platform to provide you with unlimited thematic, regional or personal linear TV channels based on an existing VOD library.

    Visit www.consuo.tv for more information and to request a trial license.

    About Eyevinn Technology

    Eyevinn Technology is an independent consultant firm specialized in video and streaming. Independent in a way that we are not commercially tied to any platform or technology vendor.

    At Eyevinn, every software developer consultant has a dedicated budget reserved for open source development and contribution to the open source community. This give us room for innovation, team building and personal competence development. And also gives us as a company a way to contribute back to the open source community.

    Want to know more about Eyevinn and how it is to work here. Contact us at work@eyevinn.se!

    Keywords

    none

    Install

    npm i @consuo/web-component-up-next

    DownloadsWeekly Downloads

    9

    Version

    0.1.3

    License

    Apache-2.0

    Unpacked Size

    829 kB

    Total Files

    10

    Last publish

    Collaborators

    • jobi