Emdalex Streams · Support

Open a stream from YouTube

Any link to one of your channel's streams can open right in Emdalex Streams: the app switches to the tab the stream is on now — Scheduled, Ready, Live or Completed — scrolls to it and outlines it in red for a moment. Works on iPhone and Android.

Why it is useful

On iPhone

  1. In the YouTube app open the stream (or a recording) and tap Share.
  2. In the share sheet tap 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. Emdalex Streams opens on that stream.

The same works from any app that shares a link: Safari, Messages, Mail, WhatsApp, Telegram, Notes.

On Android

  1. In the YouTube app open the stream (or a recording) and tap Share.
  2. In the list of apps 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 on that stream.

The same works from Chrome, Gmail, Messages, WhatsApp, Telegram — wherever there is Share for a link or text.

What happens in the app

Only streams of the channel you are signed in to can be opened — the app shows your channel, not YouTube in general. To simply watch somebody else's video, use the YouTube app.

All the usual forms of a YouTube video link — the app picks the 11-character video ID out of it:

A link inside a longer text (“Join us tonight: https://youtu.be/…”) works as well.

For developers: the emdalex:// link

Emdalex Streams registers its own link that opens a stream directly, without the share sheet:

emdalex://open?v=VIDEO_ID

Use it from your own app, a web page, a QR code, an automation or a notification — for example, a club or school app that schedules streams through the YouTube API and lets its users jump to a stream in Emdalex Streams to go live with it. The behavior is the same as with sharing: the right tab, the row outlined, sign-in first if needed, Stream not found for another channel.

iOS (Swift)

let url = URL(string: "emdalex://open?v=\(videoID)")!
if UIApplication.shared.canOpenURL(url) {
    UIApplication.shared.open(url)
} else {
    // Emdalex Streams is not installed: open the stream in YouTube
    UIApplication.shared.open(URL(string: "https://youtu.be/\(videoID)")!)
}

For canOpenURL add emdalex to LSApplicationQueriesSchemes in your Info.plist. In the Shortcuts app, the Open URLs action with the same link does the job without code.

Android (Kotlin)

val intent = Intent(Intent.ACTION_VIEW, Uri.parse("emdalex://open?v=$videoId"))
try {
    startActivity(intent)
} catch (e: ActivityNotFoundException) {
    // Emdalex Streams is not installed: open the stream in YouTube
    startActivity(Intent(Intent.ACTION_VIEW, Uri.parse("https://youtu.be/$videoId")))
}

On Android 11 and later, to check for the app in advance, declare it in your manifest: <queries><package android:name="com.skdev.emdalex" /></queries>. You can also send the YouTube link as text with Intent.ACTION_SEND to the package com.skdev.emdalex.

Web page or QR code

<a href="emdalex://open?v=VIDEO_ID">Open in Emdalex Streams</a>

A tap on such a link opens the app on a phone where it is installed; the browser may ask to confirm. Where it is not installed nothing happens, so put an ordinary YouTube link next to it.

The rules: VIDEO_ID is the 11-character YouTube video ID (letters, digits, - and _). The link only opens the app on the stream — it never starts, changes or deletes anything by itself.