DEV Community

platyeggar
platyeggar

Posted on

React Native - Vimeo/Youtube Video Download for Offline Viewing

Hi, we are creating a video app and we have this feature where a user can download a video in-app to view it offline. The videos are hosted in both youtube and vimeo. Can anyone suggest a best approach on how to achieve the download video feature from either youtube or vimeo to app's directory so that user can view the videos offline?

Thank You!

Top comments (1)

Collapse
 
daisy_dani_deeb83780e6d0f profile image
Daisy Dani • Edited

To enable offline video viewing from YouTube and Vimeo, you can implement a feature that allows users to download videos to the app's directory. This can be done by utilizing APIs from YouTube and Vimeo (where permissible) or by using third-party services similar to İndirPin, which provides the ability to Download Pinterest video. For Vimeo, their API allows direct access to videos, but for YouTube, you'd typically need to explore third-party solutions that offer video download functionality. In short: Use authorized APIs where available, and consider third-party solutions like İndirPin to Download Pinterest video for similar download functionality.