Get URL to currently active live stream
See original GitHub issueExpected Behavior
An API that returns the url of the currently active livestream
Actual Behavior
Can only check files API for files with the type hls
and then filter
Steps to Reproduce
N/A
In general, I would love to be able to embed a Vimeo livestream into a static content website without having to update the video ID on every new stream.
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (2 by maintainers)
Top Results From Across the Web
How can I get the actual video URL of a YouTube live stream?
From here, we need to get the HLS URL for a specific stream. ... the second one is a link to a video...
Read more >Watch a live stream - Cloudflare Docs
To get the video UID representing the current live stream for a given input, make a ... To use your own player, use...
Read more >LiveStreams | YouTube Live Streaming API - Google Developers
A liveStream resource contains information about the video stream that you are transmitting to YouTube. The stream provides the content that ...
Read more >Manage live stream settings - YouTube Help - Google Support
Manage live stream settings. Choosing the correct stream settings can help you reach the right audience and get the best quality stream. Note:...
Read more >The ultimate live streaming guide for beginners | Livestream
Connect the encoder and streaming platform using the stream key and URL that ... For now, let's get started with the live streaming...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
To help you avoid updating the video ID for every live stream you want to embed check out Recurring Events (https://vimeo.zendesk.com/hc/en-us/articles/360002114347-Recurring-events).
I will also bring your request internally to review as we continue to find better ways to enable you to gain more control over your embeds.
Thanks for the feedback!
I found a workaround that will get the URL for the live video for a live event. It may change in the future without notice so YMMV
I’m using PHP to get some JSON from vimeo
$json = json_decode(file_get_contents("https://vimeo.com/live_event/{LIVE_EVENT_ID}/status"));
This returns a JSON object that looks something like this
next_live_clip: { config: "https://player.vimeo.com/video/{VIDEO_ID}/config?autoplay=1&badge=0&byline=0&bypass_privacy=1&collections=0&color=00adef&context=embed_playlist.&default_to_hd=0&external_embed=0&force_embed=1&fullscreen=1&like=0&logo=0&playbar=1&portrait=0&privacy_banner=0&responsive=1&responsive_width=1&share=0&title=0&transparent=0&volume=1&watch_later=0" config_no_autoplay: "https://player.vimeo.com/video/{VIDEO_ID}/config?autoplay=0&badge=0&byline=0&bypass_privacy=1&collections=0&color=00adef&context=embed_playlist.&default_to_hd=0&external_embed=0&force_embed=1&fullscreen=1&like=0&logo=0&playbar=1&portrait=0&privacy_banner=0&responsive=1&responsive_width=1&share=0&title=0&transparent=0&volume=1&watch_later=0" duration: "00:00" id: VIDEO_ID is_live: true is_pending: false owner: "{OWNER_NAME}" plays: 14687 thumbnail: "https://i.vimeocdn.com/video/a.webp" title: "VIDEO_TITLE"}
With that you can grab the video URL from
$json->next_live_clip->config