I am not sure whether you will have a good video/audio quality if you use an IFrame
to display a web page where a RadMediaPlayer
plays a video. Further, as I noted iframes
don't bring a very good experience to mobile applications.
Regarding the InAppBrowser
plugin, it basically allows you to open external pages in a system browser on the device or within an InAppBrowser
instance which is displayed on top of the application and which you can easily close to go back to your application. However, you cannot use the InAppBrowser
to display content from an external web page inline the mobile application (as you would do with an iFrame). You can have a look at our InAppBrowser sample
to get started with the plugin.
Having all of the above in mind, I would recommend that you use the Cordova Media plugin
to play all audio files in your app. You can take a look at our sample
demonstrating how you can utilize the plugin in an AppBuilder
project. As for the video files, this forum thread basically describes all options you can utilize a custom plugin or the html5 video
tag, which is widely supported across the latest mobile OSs. I believe you might only have a problem displaying flash videos, as they are not supported on iOS at all.
In the AppBuilder
extension for VisualStudio
you can easily enable and disable core Cordova plugins as described in this tutorial
. Both the InAppBroswer
and the Media
plugins are considered two of the core plugins which allow you to work with the native API of the devices.