DynTube Help Center
  • Welcome to our Help Center
  • Videos
    • How To Upload & Embed Videos
    • Playing DynTube Videos in Native Mobile Apps
    • How to Embed Videos in WordPress
    • How to create a video feed for Roku & Fire Tv
    • How to live stream on DynTube using OBS
    • How to Change Video Thumbnail
    • How to Change the Video Player Skin
    • How to Download Oirignal Videos
    • How to Use Original MP4 Without Transcoding
    • Use your own domain for videos and channels
    • Automatically Import Videos from Google Drive using Zapier
    • Move videos to a different project
    • How to add call-to-action on a video
    • How to enable white-label video links
    • Tracking Video Viewers with Custom User IDs/Emails
  • Security
    • How to secure your videos on DynTube
    • How to Add Login Protection on My Videos
    • How To Turn On Video Encryption
    • How To Create Plans & Subscriptions
  • Channels
    • How to Create Video Channels
    • How To Sort Videos in a Channel
    • Custom Video Order in Your Channel
  • Projects
    • How to create a project
    • How to Edit Project Settings
    • How To Save Original Source Files
  • AI Features
    • How does the AI-powered transcription and translation pricing work?
  • TV Apps
    • How to Add Your DynTube Roku Feed to a Roku Channel
    • How to Add Your DynTube Fire TV Feed to an Amazon Fire TV Channel
  • Account
    • How to Upgrade My Plan?
    • How to Update My Credit Card Details?
    • How to Check My Payment History?
    • How To Download the Invoices?
    • How to add more users to my DynTube account?
    • How to Cancel My Plan?
  • FAQs
    • How to Choose Between Plans?
    • Video Options
    • Video Player
    • Bandwidth
    • Video Uploads
    • HLS Streaming & Storage
    • Screen Recording & Download prevention
    • Video Playback Issues
    • Billing
  • Tips & Tricks
    • Embed videos using the new video player
    • How to make rounded big play button
    • How to Embed DynTube Videos in LearnDash
    • How to Embed DynTube Video Channel in WordPress/LearnDash
    • How to add dynamic watermark to the video player
    • Control Video Player using URL
    • How to use your own videos as Ads
    • How to embed DynTube player in Next.Js
    • How to embed the DynTube player in React
    • How to embed videos & channels dynamically
Powered by GitBook
On this page
  • 1. Obtaining HLS links through API
  • 2. Obtaining HLS links through the Dashboard
  • Using HLS links in Native Mobile App Video Players
  • Native Open Source Programmable Video Players for HLS Video Playback
  • For Android:
  • For iOS:
  • React Native Video Players for HLS Video Playback
  • Flutter Video Players for HLS Video Playback
  • Ionic, Cordova, and Xamarin Video Players for HLS Video Playback
  1. Videos

Playing DynTube Videos in Native Mobile Apps

DynTube simplifies the integration of video content into native mobile apps. Obtain HLS links through their API or dashboard, and play videos in any HLS-enabled video player.

PreviousHow To Upload & Embed VideosNextHow to Embed Videos in WordPress

Last updated 2 years ago

DynTube provides a convenient way for developers to access videos hosted on its platform and integrate them into their native mobile applications. To do so, you will need to obtain HLS links, which can be obtained through the DynTube dashboard or API. In this article, we will guide you on how to play DynTube videos in native mobile apps.

1. Obtaining HLS links through API

The first method to obtain an HLS link is through DynTube's API. You can use the following API endpoint to fetch videos:

Once you have obtained the video list, you can access the "hlsUrl" field of each video, which will contain the HLS link. This link will end with the file extension ".m3u8", which is the standard file format for HLS video streams.

You can then use this link in any HLS-enabled video player in your native mobile app. The video player will handle the stream and play the video content for you.

2. Obtaining HLS links through the Dashboard

The second method to obtain an HLS link is through DynTube's dashboard. Simply navigate to the video title in your dashboard, and you should be able to find the HLS link on the next page.

This link will also end with the file extension ".m3u8", which you can use in your native mobile app's video player.

Using HLS links in Native Mobile App Video Players

Once you have obtained an HLS link, you can use it in any native mobile app video player that supports HLS video playback. This includes popular video players like AVPlayer for iOS and ExoPlayer for Android.

To play the video in your native mobile app, simply pass the HLS link to the video player as the source URL. The video player will handle the rest, including buffering the video content and playing it back for the user.

In conclusion, DynTube provides developers with a straightforward way to access video content and integrate it into their native mobile applications. By obtaining an HLS link via API or dashboard and using it in an HLS-enabled video player, you can easily play DynTube videos in your mobile app.

Native Open Source Programmable Video Players for HLS Video Playback

There are a number of open-source programmable video players available for both Android and iOS that support HLS video playback. Here are some popular options:

For Android:

ExoPlayer

MediaPlayer

Vitamio

For iOS:

AVPlayer

HLS-Player-iOS

VLC for Mobile

React Native Video Players for HLS Video Playback

If you're developing a mobile app using React Native, here are some open-source video player options that support HLS video playback:

react-native-video

react-native-vlc-player

react-native-hlsplayer

Flutter Video Players for HLS Video Playback

For those using Flutter for mobile app development, the following open-source video players support HLS video playback:

chewie

video_player

flutter_ijkplayer

Ionic, Cordova, and Xamarin Video Players for HLS Video Playback

If you're using Ionic, Cordova, or Xamarin for your mobile app development, the following open-source video players support HLS video playback:

VideoPlayer (Ionic and Cordova) Xamarin.iOS and Xamarin.Android's native AVPlayer Xamarin.Forms' MediaElement (Android and iOS) With these open-source programmable video players, developers can integrate HLS video playback into their mobile apps with ease, regardless of the development framework used.

https://dev.dyntube.com/reference/videos/get-videos