Audio and video support in Mobile app

Hello

I want to have audio and video support in mobile app. I want to play them inside the application using files in resources folder.


In the video widget if we want to embed a youtube video, how can we achieve the functionality?

Shubham Agarwal wrote:

Hello

I want to have audio and video support in mobile app. I want to play them inside the application using files in resources folder.

Hi Shubham ,

If it is just to play audio, you don't need to use the video widget. Create your own block with the UI you wish and use the Audio JavaScript API to play the file.You can use the "Video" widget to play audio files. Pass it the URL to an audio file, and it will play it.


I hope it will help you


Thanks