Skip to content

Commit dfd01a9

Browse files
committed
Fix code comment
1 parent 330ddb0 commit dfd01a9

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,11 @@ Use normal HTML5 `<video>` markup with all the standard [html attributes](https:
5353
import Video from 'react-html5video';
5454
render() {
5555
return (
56-
<Video controls autoPlay loop muted poster="http://sourceposter.jpg" onCanPlayThrough={() => { // Do stuff }}>
56+
<Video controls autoPlay loop muted
57+
poster="http://sourceposter.jpg"
58+
onCanPlayThrough={() => {
59+
// Do stuff
60+
}}>
5761
<source src="http://sourcefile.webm" type="video/webm" />
5862
</Video>
5963
);

0 commit comments

Comments
 (0)