Skip to content

Commit

Permalink
make file extensions case insensitive
Browse files Browse the repository at this point in the history
  • Loading branch information
the4dpatrick committed Jun 1, 2016
1 parent 0bd811e commit 6f0f346
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/players/FilePlayer.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import React from 'react'

import Base from './Base'

const VIDEO_EXTENSIONS = /\.(mp4|og[gv]|webm|mov)($|\?)/
const AUDIO_EXTENSIONS = /\.(mp3|wav)($|\?)/
const VIDEO_EXTENSIONS = /\.(mp4|og[gv]|webm|mov)($|\?)/i
const AUDIO_EXTENSIONS = /\.(mp3|wav)($|\?)/i

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

0 comments on commit 6f0f346

Please sign in to comment.