File tree Expand file tree Collapse file tree 2 files changed +6
-3
lines changed
demo/src/components/index/main Expand file tree Collapse file tree 2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ var videos = [
9
9
'http://download.blender.org/peach/bigbuckbunny_movies/big_buck_bunny_480p_h264.mov' ,
10
10
'http://media.w3.org/2010/05/sintel/trailer.mp4' ,
11
11
'http://media.w3.org/2010/05/video/movie_300.mp4' ,
12
- // Purposefully not a video to deomnstrate source error state
12
+ // Purposefully not a video to demonstrate source error state
13
13
'https://github.com/mderrick/react-html5video'
14
14
] ;
15
15
@@ -94,7 +94,7 @@ var Main = React.createClass({
94
94
</ Video >
95
95
</ div >
96
96
< div className = "main__cols" >
97
- < div className = "main__col1" >
97
+ < div className = "main__col1" >
98
98
< h2 className = "main__h2" > Change Video Source</ h2 >
99
99
< ul className = "main__ul" >
100
100
< li > < Button active = { this . state . videoId === 0 } onClick = { this . showVideo . bind ( this , 0 ) } > 1</ Button > </ li >
Original file line number Diff line number Diff line change @@ -9,7 +9,10 @@ var Controls = React.createClass({
9
9
10
10
propTypes : {
11
11
error : React . PropTypes . bool ,
12
- children : React . PropTypes . arrayOf ( React . PropTypes . node )
12
+ children : React . PropTypes . oneOfType ( [
13
+ React . PropTypes . arrayOf ( React . PropTypes . node ) ,
14
+ React . PropTypes . node
15
+ ] )
13
16
} ,
14
17
15
18
getDefaultProps ( ) {
You can’t perform that action at this time.
0 commit comments