Skip to content

Commit

Permalink
fix(loader): adjust playback priority to prevent NoOp from showing be…
Browse files Browse the repository at this point in the history
…fore checking other playbacks
  • Loading branch information
towerz committed Jan 6, 2018
1 parent 7df5704 commit 5eea6f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/loader/loader.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,11 +56,11 @@ export default class Loader extends BaseObject {
]

if (!PLAIN_HTML5_ONLY) {
this.playbackPlugins = this.playbackPlugins.concat([
this.playbackPlugins = [
HLSVideoPlayback,
FlashVideoPlayback,
FlasHLSVideoPlayback
])
].concat(this.playbackPlugins)
}

this.containerPlugins = [SpinnerThreeBouncePlugin, WaterMarkPlugin, PosterPlugin, StatsPlugin, GoogleAnalyticsPlugin, ClickToPausePlugin]
Expand Down

0 comments on commit 5eea6f6

Please sign in to comment.