The App, as such, is not illegal. You can download the app from the App Store or play store. But since it plays videos that are pirated or have copyright uploading those videos is illegal.