Skip to content

Commit

Permalink
Update facebook regex
Browse files Browse the repository at this point in the history
  • Loading branch information
webmiraclepro committed Jan 31, 2020
1 parent d208762 commit 67a23cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/players/Facebook.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import createSinglePlayer from '../singlePlayer'
const SDK_URL = 'https://connect.facebook.net/en_US/sdk.js'
const SDK_GLOBAL = 'FB'
const SDK_GLOBAL_READY = 'fbAsyncInit'
const MATCH_URL = /facebook\.com\/.+/
const MATCH_URL = /^https?:\/\/(www\.)?facebook\.com.*\/(video(s)?|watch)(\.php?|\/).+$/
const PLAYER_ID_PREFIX = 'facebook-player-'

export class Facebook extends Component {
Expand Down

0 comments on commit 67a23cc

Please sign in to comment.