2.2.8 • Published 6 years ago

react-youtube-playlist v2.2.8

Weekly downloads
21
License
ISC
Repository
github
Last release
6 years ago

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.

2.2.8

6 years ago

2.2.7

7 years ago

2.2.6

7 years ago

2.2.5

7 years ago

2.2.4

7 years ago

2.2.3

7 years ago

2.2.2

7 years ago

2.2.1

7 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.0

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago