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

react-youtube-playlist

Package Overview
Dependencies
Maintainers
1
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

react-youtube-playlist

A react component for displaying the contents of a user's YouTube playlist.

  • 2.2.8
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
7
decreased by-91.14%
Maintainers
1
Weekly downloads
 
Created
Source

Usage is as follows:

import YouTubePlaylist from 'react-youtube-playlist';
import 'react-youtube-playlist/dist/styles'

const App = () => {
  return (
    <YouTubePlaylist
      width={'85%'}
      height={390}
      api_key='YourGoogleApiKey'
      playlist_id='YourYoutubePlaylistID'
      show_thumbnails
    />
  )
}

Available Props

api_keyString : Your Google API key
playlist_idString : Your YouTube playlist ID
widthString | Number : Can be a percent or number (pixels)
heightString | Number : Can be a percent or number (pixels)
show_thumbnailsBool : Set to false if you don't want the thumbnail images
container_classString : A class name for the containing DOM node
iframe_container_classString : A class name for the iframe container DOM node
frame_borderNumber : iframe border size
scrollingBool : Enable/Disable iframe scrolling
<YouTubePlaylist
  api_key={String}
  width={300}
  height={400}
  iframe_style={''}
  show_thumbnails={true}
  iframe_container_class={''}
  video_list_container_class={''}
/>

Note : You must include bootstrap css in your project for some of the UI in this component to work.

FAQs

Package last updated on 16 Aug 2018

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