@giphy/embed-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.0.1 • Public • Published

@giphy/video-sdk

An SDK to help you embed GIPHY Clips on your website!

Get started

import { GiphyVideo } from '@giphy/embed-sdk'
const clipUrl = 'https://giphy.com/clips/studiosoriginals-love-reaction-emotion-h48wFAB9JpSTSiXwHw'
const Video = new GiphyVideo({
    url: clipUrl,
})
Video.loadPlayer('giphy-iframe')

// Methods
// Video.play()
// Video.pause()
// Video.stop()
// Video.mute()
// Video.unmute()
// Video.seekTo(10)

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i @giphy/embed-sdk

    Weekly Downloads

    0

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    21.8 kB

    Total Files

    11

    Last publish

    Collaborators

    • giphy