Skip to content
This repository has been archived by the owner on Jan 16, 2023. It is now read-only.

Latest commit

 

History

History
22 lines (16 loc) · 783 Bytes

README.md

File metadata and controls

22 lines (16 loc) · 783 Bytes

Clappr Speech Control Plugin

Control Clappr player using your voice. See it working here or give you a try.

How to use

Import speech_control.min.js

<script type="text/javascript" src="http://flv.io/speech_control.min.js"></script>

and create Clappr Player adding the external plugin:

var player = new Clappr.Player({
      source: "http://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4", 
      parentId: "#player-wrapper", 
      plugins: {'container': [SpeechControl]}
    );

It uses HTML5 Speech Recognition API and only Chrome supports it for now.