Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create jQuery plugin #35

Open
michalstocki opened this issue Sep 26, 2014 · 0 comments
Open

Create jQuery plugin #35

michalstocki opened this issue Sep 26, 2014 · 0 comments

Comments

@michalstocki
Copy link
Owner

The recorder setup is quite complicated (especially two-sides event bindings), so it could be large improvement, when we could use pre configured FlashWavRecorder as jQuery plugin.

Features

  • predefined class name for each recorder state e.g. fwr-state-recording, fwr-state-playing.
  • including <button> element for each action
  • two different CSS styles: single-button mode and basic mode (with three buttons).

Usage example
If we call:

$('.recorder-1').flashWavRecorder();

on element

<div class="recorder-1"></div>

we will get (state: recording):

<div class="recorder-1 fwr-recorder fwr-state-recording">
    <button class="fwr-start-recording" disabled="disabled"><button>
    <button class="fwr-stop-recording"></button>
    <button class="fwr-start-playing"><button>
    <button class="fwr-pause-playing" disabled="disabled"></button>
    <button class="fwr-send-recording"></button>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant