Video Players

This guide describes how developers can play Gumlet videos on different platforms.

Gumlet videos are widely supported across all operating systems, browsers and development frameworks. If you are a developer integrating Gumlet, you can choose the option below to quickly start streaming videos.

HTML iFrame code for browsers

Player.js to control iFrame playback

Next.js / React JS

React Native Webview

Android Native ( Java / Kotlin )

iOS Native ( Swift / Objective C )

How to choose a player

Choosing which player to use can be tricky to decide. We have given the pointers below to make the choice easier.

No DRM - Webview Players

If you are not using DRM and are not building a short video scrolling app like TikTok, you should choose WebView-based players. react-native-webview or even opening a Webview on your native app would work best. It has following advantages:

  • Fast integration - can be ready in under an hour
  • Cross-platformworks well on iOS and Android
  • Feature Rich - Gumlet embed has extra features like forms, CTAs, multi-audio and subtitles
  • Stable - since the iFrame is maintained by Gumlet, it's stable and battle-tested
  • Analytics - Includes Gumlet analytics by default and collects accurate metrics

DRM Enabled

If your Gumlet videos are DRM-encrypted, you can still use Webview based player. It provides all features and works well with both iOS and Android. You will also be able to skip a little bit of confusing and time-consuming DRM setup.

Webview-based players might play Widevine DRM on Android at the L3 level for some devices. This means security is a little bit less for those videos, but it's not a huge concern. If you are just getting started, choose Webview based integration and you can always upgrade it later.

If you have stronger security needs or need offline download support for DRM-encrypted videos, webview can't be used. You will need to use Native players like react-native-video or one of the Gumlet official native SDKs for iOS and Android listed above.

Show me the gist

Here is a table which makes the choice easy for you.

Platform / FeatureiFrame / Webview PlayerNative Player
Non-DRM. No short video scroll like TikTok
Non-DRM. Short video scroll on the native app
DRM Enabled
DRM Enabled with strong security needs
DRM Enabled with offline download support