Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

gifvideo

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gifvideo

Play videos inline on iOS Safari, just like GIF files

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Gifvideo

Play videos inline on iOS, just like GIF files

Install

Using npm:

$ npm install --save gifvideo

Using bower:

$ bower install --save gifvideo

Gifvideo can be used as a CommonJS module, AMD (with Require.js) or as a plain old Javacript global.

Usage

Make sure you have a <video%gt; element with a src and poster attribute (or the relevant source tags).

Then

var gifvideo = new Gifvideo(document.querySelector('video'));

That's it. Note that Gifvideo only accepts HTML elements, no selector strings.

For an example see test.html.

API

.getElement()

Returns the element you've given in the constructor.

License

MIT © Hay Kranen

Keywords

FAQs

Package last updated on 19 Sep 2016

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc