MQTT integration for a media player is not supported by home assistant, so a custom addon must be installed using HACS. I've modified an addon called mqtt-mediaplayer for creating a new media_player entity.
This addon gets the information from the attributes of media_info sensor. It supports playing remote or local media using cvlc which should be installed on your system.
Add this yaml block on your configuration.yaml file and restart Home Assistant.
service:media_player.play_mediadata:media_content_id:/home/user/imag.jpgmedia_content_type:media# Not used, but required by home assistanttarget:entity_id:media_player.desktop_linux