1.0.1 • Published 2 years ago

@giphy/embed-sdk v1.0.1

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

@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)
1.0.1

2 years ago

1.0.0

2 years ago