Skip to content
This repository has been archived by the owner on Nov 20, 2021. It is now read-only.

Commit

Permalink
2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
bfred-it committed Feb 11, 2017
1 parent 837628f commit 6a2137a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions dist/iphone-inline-video.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*! npm.im/iphone-inline-video 2.0.1 */
/*! npm.im/iphone-inline-video 2.0.2 */
var enableInlineVideo = (function () {
'use strict';

Expand Down Expand Up @@ -74,7 +74,7 @@ function dispatchEventAsync(element, type) {
});
}

var iOS8or9 = 'object-fit' in document.head.style && !matchMedia('(-webkit-video-playable-inline)').matches;
var iOS8or9 = typeof document === 'object' && 'object-fit' in document.head.style && !matchMedia('(-webkit-video-playable-inline)').matches;

var = 'bfred-it:iphone-inline-video';
var ಠevent = 'bfred-it:iphone-inline-video:event';
Expand Down
4 changes: 2 additions & 2 deletions dist/iphone-inline-video.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "iphone-inline-video",
"version": "2.0.1",
"version": "2.0.2",
"description": "Make videos playable inline on the iPhone (prevents automatic fullscreen)",
"license": "MIT",
"repository": "bfred-it/iphone-inline-video",
Expand Down

0 comments on commit 6a2137a

Please sign in to comment.