New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vue-gifplayer

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vue-gifplayer

Facebook preview style and gif loader - gif player

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
17
increased by112.5%
Maintainers
1
Weekly downloads
 
Created
Source

vue-gifplayer

Facebook preview and gif loader - gif player

demo

a gif of gif loaded using vue-gifplayer

Install

npm i vue-gifplayer -s

Usage

import css or sass

in your main.js
import "vue-gifplayer/src/gif.css"

in your sass file
@import "node_modules/vue-gifplayer/src/gif.scss";
<gif-player
  src="https://media0.giphy.com/media/l0MYJnJQ4EiYLxvQ4/giphy.mp4"
></gif-player>

Props

src: url of the gif file in mp4

still: URL for an image preview of your Gif. (can be any image, but width should be the same a gif)

width: gif width

height: height gif

autoplay: the gif plays automatically

loop: the gif plays indefinitely

type: default: video for now it only accepts video format (video/mp4)

by:

Object:
{
    name: 'Giphy',
    url: 'https://giphy.com/gifs/l0MYJnJQ4EiYLxvQ4'
}

information about the gif provider

showBy: Default: true show or hide gif provider

Keywords

FAQs

Package last updated on 19 Dec 2019

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