@st-graphics/object-fit-video
Opensource scrollytelling components used by Straits Times Interactive Graphics Team
Opensource scrollytelling components used by Straits Times Interactive Graphics Team
Contain and cover function
useElementFit is a React hook that allows you to measure and element's based on certain restraints, similar to object-fit in CSS.
A Vue.js Plugin
Fits media elements (img, video). It polyfills CSS' object-fit: cover; If the browser supports object-fit, it will not run.
A robust polyfill for the 'object-fit' and 'object-position' CSS-properties
CSS utilities for object-fit and object-position properties
Ionic 2 directive to provide an object-fit CSS polyfill
Cross browser CSS object-fit support for picture tags
Simple component to render a video background in Vue.js
videoplayer
An implementation of the ECMAScript® Language Specification
Replaced elements object-fit and object-position utilities
CSS-like 'object-fit' and 'object-position' behavior for FabricJS.
Create parallax effect for inline `background-image` or `object-fit:cover`.
Object fit contain and cover
An Eleventy Nunjucks shortcode to provide the functionality of generating an image's `object-position` value in order to keep the focal point in view.
Helper methods for HTML video playback
Generate utility classes for object-fit properties
displays video with object-fit: cover, with fallback for IE