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

Commit

Permalink
Add support for server-side rendering (#105)
Browse files Browse the repository at this point in the history
  • Loading branch information
Vadim Demedes authored and bfred-it committed Feb 11, 2017
1 parent 5008cde commit 837628f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import proxyProperty from './lib/proxy-property';
import proxyEvent from './lib/proxy-event';
import dispatchEventAsync from './lib/dispatch-event-async';

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

const = 'bfred-it:iphone-inline-video';
const ಠevent = 'bfred-it:iphone-inline-video:event';
Expand Down

0 comments on commit 837628f

Please sign in to comment.