Skip to content
New issue

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

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

Already on GitHub? # to your account

Add audio preview of uploaded files #768

Merged
merged 1 commit into from
Nov 4, 2016
Merged

Conversation

spalladino
Copy link
Contributor

Added in both resources screen and call flow steps.
Fixes #654

screen shot 2016-11-01 at 9 13 20 am

screen shot 2016-11-01 at 9 13 31 am

Added in both resources screen and call flow steps.

Fixes #654
@@ -28,6 +28,12 @@
%input{:type => 'file', 'data-bind' => 'fileupload: url, fileuploadAdd: add, fileuploadprogressall: showProgress'}
Replace
/ /ko
/ ko if: hasAudio() && (uploadStatus() == 'ok' || uploadStatus() == 'standBy')
%br
%audio{'controls' => true, "style" => "width: 450px", "preload" => "none"}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we care about compatibility with old browsers? What does this do if the browser doesn't support the <audio> element or the audio format?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

IE9+ supports audio tag. And the call flow designer currently does not work in IE8:

screen shot 2016-11-04 at 11 34 53 am

@spalladino spalladino merged commit 9c1e384 into master Nov 4, 2016
@spalladino spalladino deleted the feature/audio_preview branch November 4, 2016 14:37
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants