Closed Agent9G closed 5 years ago
The other thing, is it possible to make the poster show after the video has played?
The other thing, is it possible to make the poster show after the video has played?
This is not supported, Planing to implement this soon :)
How am i to add attributes to this tag.
i currently have such:
<VideoBg loop={false} muted={false} poster={...}>
I am getting the warning fro both 'Failed prop type: Invalid prop
loop
of typeboolean
supplied toj
, expectedstring
.
I have done a silly mistake in proptype validation in https://github.com/samAbeywickrama/reactjs-videobg/blob/master/src/VideoBg.js 😅
loop: PropTypes.string,
It has to be
loop: PropTypes.bool,
I will add a fix to this and do a release asap :)
:tada: This issue has been resolved in version 1.2.3 :tada:
The release is available on:
Your semantic-release bot :package::rocket:
The other thing, is it possible to make the poster show after the video has played?
This is not supported, Planing to implement this soon :)
Working on this here #4
The other thing, is it possible to make the poster show after the video has played?
This is not supported, Planing to implement this soon :)
Solid!
How am i to add attributes to this tag. i currently have such:
<VideoBg loop={false} muted={false} poster={...}>
I am getting the warning fro both 'Failed prop type: Invalid proploop
of typeboolean
supplied toj
, expectedstring
.I have done a silly mistake in proptype validation in https://github.com/samAbeywickrama/reactjs-videobg/blob/master/src/VideoBg.js
loop: PropTypes.string,
It has to be
loop: PropTypes.bool,
I will add a fix to this and do a release asap :)
You da champ!
Thank you.
How am i to add attributes to this tag.
i currently have such:
<VideoBg loop={false} muted={false} poster={...}>
I am getting the warning fro both 'Failed prop type: Invalid prop
loop
of typeboolean
supplied toj
, expectedstring
.