You're going to find less and less support for SWF. It doesn't work at all on mobile and desktop support is disappearing as well. I haven't even tried to do anything with it in at least five years.
That said, you need to give us way more detail.
What version of InDesign?
Where are you trying to play this? Locally? Online?
What format is the video?
Yes, I do agree with you.
I am using InDesign CC 2015 version. The videos are in mp4 format, which is the preferred format for videos to be played in flash player. And the swf needs to play locally without an internet.
I have tried linking the videos through a url which work fine. But as the swf is to be played locally without an internet this option won't work. Also tried other supporting video formats but they also won't work.