Giter Club home page Giter Club logo

video-on-command-se-widget's Introduction

Video On Command

My version of the StreamElements "Video On Command" custom widget, originally written by Benno.
The code builds on Suerion's variation of said widget (v3).

Special thanks to Benno, Suerion, lx, thefyrewire, Reboot0, SquidCharger and ca11.

Description of operation:

This custom widget allows to associate media (video or audio) with chat commands.
The media plays when the corresponding command has been detected in chat.

Furthermore, the streamer can limit the access to particular users or user categories.

Previously added features:

  • User access level no restrictions.
  • A blocked users list.
  • Cooldown option for each video.
  • Global cooldown (by Suerion).
  • A total of 15 predefined audio commands (by Suerion).

New features:

  • Added a dropdown list to each media command, which defines how a chat message is compared to the specified command string.
    This way it is also triggered when the message contains additional content (e.g. "!lurk till later" or "I'm in !lurk").
  • Switched for the access level selection from dropdown to a mix between dropdown and checkboxes.
    Also added options for the individual subscription tiers.
  • Introduced two lists to the JavaScript, which hold field prefixes.
    Those prefixes coupled with structural conventions in 'Fields', should (hopefully) make it easier to append new media commands (like a Xth video command).
  • Set the number of predefined commands to 5 for each media type.
  • Added a case sensitivity option for the string comparison.
  • Media input fields with the "multiple" parameter set to true are now supported.
    If encountered, a random media is picked from the provided pool.
  • Migrated to a newer animate.css library version (3.7.0 -> 4.1.1).
  • Started to use Reboot0's Widget Tools.

Used libraries:

video-on-command-se-widget's People

Contributors

afoeee avatar

Stargazers

 avatar

Watchers

 avatar  avatar

video-on-command-se-widget's Issues

Start command

I'm only able to activate a video command for streamer, mods, vips
i'm not allowed to set it to everyone. Is this available in stream element overlay?

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.