Skip to content

Commit

Permalink
Correct the name of the mediaSource property in the constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
besidev committed Oct 11, 2023
1 parent 9b226e5 commit 6c9847a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ public MediaPlayer getMediaPlayer() {

ReadOnlyObjectWrapper<MediaSource> mediaSourcePropertyImpl() {
if (mediaSource == null) {
mediaSource = new ReadOnlyObjectWrapper<>(this, "source");
mediaSource = new ReadOnlyObjectWrapper<>(this, "mediaSource");
}
return mediaSource;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ public JSVariable getVideoElement() {
@Override
ReadOnlyObjectWrapper<MediaSource> mediaSourcePropertyImpl() {
if (mediaSource == null) {
mediaSource = new ReadOnlyObjectWrapper<>(this, "source") {
mediaSource = new ReadOnlyObjectWrapper<>(this, "mediaSource") {
@Override
protected void invalidated() {
if (getStatus() != Status.DISPOSED) {
Expand Down

0 comments on commit 6c9847a

Please sign in to comment.