Skip to content

Commit 488a20c

Browse files
committed
new loopPlaylistItem prop
1 parent fd17815 commit 488a20c

File tree

7 files changed

+176
-103
lines changed

7 files changed

+176
-103
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,12 +111,14 @@ showPlaylist | `Array` | none | no | An array of video URL strings, or of video
111111
poster | `String` | none | no | A fallback image to use, when all else fails.
112112
mute | `Boolean` | true | no | Should the videos be played muted?
113113
loop | `Boolean` | true | no | Should videos / playlists loop or begin again when finished?
114+
loopPlaylistItems | `Boolean` | false | no | Individual playlist videos will loop, rather than the whole list itself.
114115
slideshow | `Boolean` | false | no | Force the component to display fallback images / poster rather than videos.
115116
onPlaying | `Function` | null | no | Register a callback for when the video / slideshow starts playing.
116117
onPause | `Function` | null | no | Register a callback for when the video / slideshow is paused.
117118
onTime | `Function` | null | no | Emits regular time-tracking events from Drive-In lib with current media item play position.
118119
onTimeFrequency | `Number` | 500 | no | Frequency at which to emit time-tracking events.
119120
onCanPlay | `Function` | null | no | Callback for when a loaded media item can play.
121+
playbackRate | `Number` | 1.0 | no | Adjust the playback rate of videos. Per the HTML5 video method.
120122

121123
## Developing
122124

dist/react-drive-in.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/*
22
* React Video - React component supporting background videos and playlists.
3-
* @version v1.2.0
3+
* @version v1.3.0
44
* @link https://github.com/ronik-design/react-drive-in
55
* @license ISC
66
* @author Ronik Design (http://www.ronikdesign.com)

0 commit comments

Comments
 (0)