Skip to content

Commit

Permalink
Fixed README file
Browse files Browse the repository at this point in the history
  • Loading branch information
rafa8626 committed May 19, 2017
1 parent dbe195d commit 2e6eb86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions README.md
Expand Up @@ -63,9 +63,9 @@ In order to successfully install `3.x` in an existing setup, you must consider t
$('video, audio').mediaelementplayer({
// Configuration
success: function(media) {
var isNative = media.rendererName.match(/html5|native/);
var isNative = /html5|native/i.test(media.rendererName);

var isYoutube = media.rendererName.match(/youtube/);
var isYoutube = ~media.rendererName.indexOf('youtube');

// etc.
}
Expand Down
2 changes: 1 addition & 1 deletion changelog.md
Expand Up @@ -6,7 +6,7 @@
* Added new resource to documentation @rafa8626
* Fixed MD broken link (https://github.com/mediaelement/mediaelement/pull/2223) @Mackiovello
* Changed calculation to avoid higher dimensions than expected using `parseFloat` on responsive mode @rafa8626
* Updated `installation.md` file for WordPress upgrades @rafa8626
* Updated `installation.md` file for WordPress upgrades, and fixed README file @rafa8626
* Fixed `hasFluidMode()` method to return proper result (https://github.com/mediaelement/mediaelement/pull/2224) @lucash
* Fixed issue with logical operators and `~` symbol @rafa8626

Expand Down

0 comments on commit 2e6eb86

Please sign in to comment.