Emdalex Streams · Support

Share a video straight to your YouTube

Any video on your phone can go to your own YouTube channel in two taps: Share → Emdalex Streams. The app opens and streams it at once — one video or several, one after another. When it ends, the recording is on YouTube and the video can leave your phone. Works on iPhone and Android.

Why it is useful

On iPhone

  1. In Photos open a video, or tap Select and pick several in the order you want them to play.
  2. Tap Share and choose Emdalex Streams.
    Not in the row of apps? Scroll the row to the end, tap More and turn Emdalex Streams on (tap Edit to move it to Favorites so it is always first).
  3. The sheet shows Preparing video… for a moment while the videos are handed over, then Emdalex Streams opens and goes live.

The same works in Files and in other apps that share a video file.

On Android

  1. In Google Photos or your Gallery open a video, or press and hold to select several in the order you want them to play.
  2. Tap Share and choose Emdalex Streams. If it is not shown, tap More and find it; press and hold it to pin it to the top.
  3. Emdalex Streams opens and goes live.

The same works in Files and in other apps that share a video file.

What happens in the app

Good to know

For developers: send videos from your app

If your app makes or keeps videos — a camera, a dashcam, a drone or sports app, a screen recorder, a school or club app — you can let your users send them to their own YouTube channel through Emdalex Streams. You hand over the video file the standard way; Emdalex Streams does the rest.

Keep in mind: it is a live stream, not an upload. The video plays in real time on the user's phone — a 10-minute video takes 10 minutes, with the internet on and Emdalex Streams open. The recording has the stream's quality (720p, or 1080p if the user chose it), a stream lasts at most 90 minutes (or the user's longer limit), and it is unlisted. Tell your users this next to the button.

iOS (Swift)

On iPhone an app cannot pick another app's share extension for the user: show the share sheet with the video file and the user taps Emdalex Streams in it.

// UIKit: one or several local video files (MP4 or MOV), in the order to play
let sheet = UIActivityViewController(activityItems: videoURLs, applicationActivities: nil)
sheet.popoverPresentationController?.sourceView = button   // iPad
present(sheet, animated: true)

// SwiftUI
ShareLink(items: videoURLs) {
    Label("Send to YouTube", systemImage: "square.and.arrow.up")
}

Pass file:// URLs of finished files that stay in place until the share sheet closes (Emdalex Streams copies them while it shows Preparing video…). To show your own button only when the app is installed, add emdalex to LSApplicationQueriesSchemes and check UIApplication.shared.canOpenURL(URL(string: "emdalex://")!).

Android (Kotlin)

On Android you can send the videos straight to Emdalex Streams, without the chooser:

// The file shared through your FileProvider (or any content:// URI your app can read)
val uri = FileProvider.getUriForFile(context, "${context.packageName}.fileprovider", videoFile)
val intent = Intent(Intent.ACTION_SEND).apply {
    type = "video/mp4"
    putExtra(Intent.EXTRA_STREAM, uri)
    setPackage("com.skdev.emdalex")
    addFlags(Intent.FLAG_GRANT_READ_URI_PERMISSION)
}
try {
    startActivity(intent)
} catch (e: ActivityNotFoundException) {
    // Emdalex Streams is not installed: offer it on Google Play, or share with a chooser
}

Several videos: Intent.ACTION_SEND_MULTIPLE with putParcelableArrayListExtra(Intent.EXTRA_STREAM, uris), in the order to play. Without setPackage the system chooser opens and the user picks the app. On Android 11 and later, to check for the app in advance, declare <queries><package android:name="com.skdev.emdalex" /></queries>.

The rules

Questions or a use case we have not thought of? Write to sergey.krotkih@gmail.com.