Hey there and welcome to Apple Support Communities kishorer747,
We can certainly understand your concern and are here to help.
We recommend checking out these steps if you have issues playing media on your device.
" If a media file doesn't open or play on your Mac, iPhone, or iPad
Older or specialized audio, video, or image formats might not be supported on your device, or might require different software.
Apple apps such as Photos, iMovie, Safari, Keynote, and QuickTime Player work with many media formats. Some apps prefer specific formats, but most formats work in most apps without additional software. Older or specialized formats might not work as expected if your device, its operating system (macOS, iOS, or iPadOS), or the app you're using to view or play the file doesn't support the file's format.
Install all available software updates for your Mac and software updates for your iPhone or iPad. After updating, if you still don't have an app that supports the media format used by the file, search the internet or App Store for an app that does. You can search by the name of the format, or by the filename extension, which is the letters shown at the end of the file's name, such as .avi, .wmv, or .mkv.
On Mac, you might be able to identify the format by selecting the file in the Finder, then pressing Command-I to open an Info window. "
For additional information, check out this link: If a media file doesn't open or play on your Mac, iPhone, or iPad - Apple Support
These steps will help ensure your device is working with ease and can fix common issues like the ones you’re experiencing.
Kindest regards!