Giter Site home page Giter Site logo

streaming-titles's Introduction

Streaming Titles for ECAMM Live

Sample

ECAMM Live lets you add titles to your livestreams, but if you're running a show with multiple guests and you want to have the titles appear in multiple scenes, it's a bit tought to update each show with the different guests titles. You can add a widget overlay, which is just a link to a website.

This project lets you use a widget overlay configurable in one of two ways. The first is a JSON file called stream.json with information like this.

{
  "host": {
    "name": "Ray Villalobos",
    "title": "Senior Staff Instructor",
    "profile": "/in/planetoftheweb",
  },
  "guests": [
    {
      "name": "Guest 01 Name",
      "title": "Guest 01 title",
      "profile": "/in/guest01URL"
    },{
      "name": "Guest 02 Name",
      "title": "Guest 02 title",
      "profile": "/in/guest02URL"
    }
  ]
}

URL Parameters

The second way to pass information is with several URL parameters on the index.html file inside the x-data attribute. The optional variables are as follows (defaults are shown):

  sh: true, //show host
  sg: true, //show guest
  wg: null, //which guest
  pt: 0, //padding top
  pl: 0, //padding left
  pr: 0, // padding right
  dn: true, // display name
  dt: true, // display title
  dp: true // display profile

By default it will showup the guests to the left and the host on the right. The colors of the text is configurable in the css/style.css CSS file.

:root {
  --yellow: rgba(255,212,121,1);
  --primary: var(--yellow);
  --secondary: white;
  --tertiary: var(--yellow);
  --quaternary: white;
}

Librares Included

I'm using Alpine.js to read the file, so although no build process is necessary, I did include Vite for some live reloading during development.

I also included the Preflight reset from Tailwind CSS to make it easier to style the page. I find it cleans things up nicely to start from scratch.

I've also added my favorite icons as fonts from Bootstrap Icons. For the font, I'm using a fantastic variable weight font from GitHub called Hubot Sans, feel free to update this with whatever font you want in the CSS file.

Usage

  1. Clone the repo
  2. Customize the stream.json file along with anything else you want.
  3. Open the index.html file in a browser.
  4. Copy the URL to the file.
  5. Open up ECAMM Live

Widget Overlay

  1. Add a widget overlay.
  2. Paste the URL into the Widget URL box.
  3. Customize by adding URL variables like: ?pt=850&pl=100&pr=100

streaming-titles's People

Contributors

planetoftheweb avatar

Stargazers

 avatar  avatar  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.