-
Notifications
You must be signed in to change notification settings - Fork 166
No video playback with 1.0.5 when embedded in custom application #185
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Thanks for flagging this @murezzda and apologies for inadvertently introducing a bug shouldComponentUpdate(nextProps) {
if (nextProps.previewIsDisplayed !== this.props.previewIsDisplayed) {
return true;
}
return false;
} just to confirm, the code above, is from the
|
Thanks a lot for the help @pietrop! Regarding your first question, it is indeed the code from I've added the snipped
to the Would it be possible to release this fix on npm? I would like to update our application in the near future. Thanks again 😃 |
fixed in #186 |
@murezzda |
Describe the bug
Currently, our web-application won't play back any videos with 1.0.5. The timestamp of the video is 00:00:00/00:00:00, and it seems the media file is not loaded. I've managed to pinpoint this to the
shouldComponentUpdate
function of the video player:By Uncommenting this, the playback of the video is back to normal.
We use a .Net Core backend. The Application is started via Visual Studio in an IIS.
To Reproduce
I'm still investigating why exactly this happens, we call the compontent with
where the
mediaUrl
is a api call to our backend which returns the media file.I was not able to reproduce this behaviour in the Demo App, I've even managed to play back the same api call with the
shouldComponentUpdate
function enabled.Question
What is exactly the behaviour of
previewIsDisplayed
?The text was updated successfully, but these errors were encountered: