diff --git a/src/controllers/notifications/NotificationController.cpp b/src/controllers/notifications/NotificationController.cpp index a8f870394..ccb814745 100644 --- a/src/controllers/notifications/NotificationController.cpp +++ b/src/controllers/notifications/NotificationController.cpp @@ -112,7 +112,7 @@ void NotificationController::playSound() if (currentPlayerUrl != highlightSoundUrl) { - player->setMedia(highlightSoundUrl); + player->setSource(highlightSoundUrl); currentPlayerUrl = highlightSoundUrl; } diff --git a/src/messages/SharedMessageBuilder.cpp b/src/messages/SharedMessageBuilder.cpp index 884ca5117..066652c40 100644 --- a/src/messages/SharedMessageBuilder.cpp +++ b/src/messages/SharedMessageBuilder.cpp @@ -469,7 +469,7 @@ void SharedMessageBuilder::triggerHighlights() // update the media player url if necessary if (currentPlayerUrl != this->highlightSoundUrl_) { - player->setMedia(this->highlightSoundUrl_); + player->setSource(this->highlightSoundUrl_); currentPlayerUrl = this->highlightSoundUrl_; }