Skip to content

Commit ac58a51

Browse files
committed
feat(react-container-call-incoming): plays ringtone when ringing
1 parent 0b43cd0 commit ac58a51

File tree

4 files changed

+36
-2
lines changed

4 files changed

+36
-2
lines changed

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,7 @@
5050
"browser-saveas": "^1.0.1",
5151
"classnames": "^2.2.5",
5252
"custom-event-polyfill": "^0.3.0",
53+
"howler": "^2.0.2",
5354
"immutable": "^3.8.1",
5455
"lodash": "^4.17.2",
5556
"marked": "^0.3.6",

packages/node_modules/@ciscospark/react-container-call-incoming/src/index.js

Lines changed: 28 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/webpack/webpack.base.babel.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,13 @@ export default (options) => {
108108
name: `fonts/[name].[ext]`
109109
}
110110
},
111+
{
112+
test: /\.mp3$|\.wav$/,
113+
loader: `file-loader`,
114+
query: {
115+
name: `media/[name].[ext]`
116+
}
117+
},
111118
{
112119
test: /.*\.(gif|png|jpg)$/,
113120
loaders: [

0 commit comments

Comments
 (0)