Skip to content

Commit

Permalink
fix flutter#5
Browse files Browse the repository at this point in the history
  • Loading branch information
PeterOmbodi committed May 13, 2021
1 parent ffcd6b7 commit bf9bb96
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -323,12 +323,12 @@ - (void)sendInitialized {

// The player has not yet initialized.
if (height == CGSizeZero.height && width == CGSizeZero.width) {
return;
//return;
}
// The player may be initialized but still needs to determine the duration.
//if ([self duration] == 0 && ![self isDurationIndefinite]) {
// return;
// }
if ([self duration] == 0 && ![self isDurationIndefinite]) {
return;
}

_isInitialized = true;
_eventSink(@{
Expand Down

0 comments on commit bf9bb96

Please sign in to comment.