stanca-pop-lgp on WRO-3893
fixed lint warning (compare)
stanca-pop-lgp on WRO-3893
review fixes (compare)
stanca-pop-lgp on WRO-582
Merge branch 'develop' of https… Merge branch 'develop' of https… wrapped local functions in useS… (compare)
daniel-stoian-lgp on WRN-20739
drawing component cleanup (compare)
daniel-stoian-lgp on drawingComponent
WRO-438: Update testing page wi… Merge remote-tracking branch 'o… (compare)
stanca-pop-lgp on WRO-3893
sorted imports (compare)
stanca-pop-lgp on WRO-3893
Lint fixes (#170) Merge branch 'develop' of githu… (compare)
sjro on WRO-4551
Update .travis.yml (compare)
functional: true
when define kind component then it will return a functional component suitable for use with React hooks.render
in kindHi I already posted this issue on github but hope some one here might help I have am having an issue to make videojs to work properly as part of the video player.
here is my setup code <VideoPlayer id="videoplay" ></VideoPlayer>
and in component did mount I have `ComponentDidMount() {
var options = {
sources: [{
src: 'http://demo.unified-streaming.com/video/tears-of-steel/tears-of-steel.ism/.m3u8',
type: 'application/x-mpegURL'
}]
};
this.player = videojs('videoplay', options, function onPlayerReady() {
const video = document.getElementById('videoplay');
});
$('#overlays-wrap').appendTo($('#videoplay'));
} `