Skip to content

Commit

Permalink
Use video element for ogg files
Browse files Browse the repository at this point in the history
  • Loading branch information
Webmaster1116 committed Jan 1, 2017
1 parent 306ef4b commit c30fdeb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/players/FilePlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react'

import Base from './Base'

const AUDIO_EXTENSIONS = /\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|ogg|spx)($|\?)/i
const AUDIO_EXTENSIONS = /\.(m4a|mp4a|mpga|mp2|mp2a|mp3|m2a|m3a|wav|weba|aac|oga|spx)($|\?)/i

export default class FilePlayer extends Base {
static displayName = 'FilePlayer'
Expand Down

0 comments on commit c30fdeb

Please sign in to comment.