Create solution for YouTube live stream web embed issue caused by fluctuating embed URLs

Dokončeno Zveřejněno před 6 lety K zaplacení v momentě doručení
Dokončeno K zaplacení v momentě doručení

Here is the issue I need to solve. I plan to broadcast to YouTube live stream each day, with the live stream itself embedded in a website (using YouTube generated iframe embed code)

I will be broadcasting during working hours (store related) , and turning off the stream at night.

One annoying thing is that if I stop streaming at night then YouTube will archive the video stream (after waiting for some minutes to make sure it's not just a temporary outage). The next morning I start streaming again -- and it will create a new video embed URL.

I will then have to update that URL in the iframe code on my website, and I will have to do this each morning, which is not realistic.

I am looking for a solution. The solution could involve:

1) Keeping the same embed URL by finding a way to "hold" the live stream while I am not streaming to it -- potentially a third party service that will notice I am no longer streaming and broadcast a placeholder image until I come back and take over the stream, all done automatically.

2) Finding a way to make use of YouTube's permanent live now URL. For example, each YouTube channel will have a permanent URL that will show whatever video happens to be live on the channel.

[login to view URL]

It's not possible to embed this URL (as far as I know) but by clicking on it you can find the URL of the video that happens to be live at that particular moment -- click share and embed, for example:

<iframe width="560" height="315" src="[login to view URL]" frameborder="0" allowfullscreen></iframe>

That olCv7tGpDdo code is the one that needs to be swapped out when a stream gets archive.

3) Some other idea -- open to your suggestion. Use Java somehow, dynamically update the site HTML , etc.

I have to use YouTube for this for reasons that I won't explain here, and it also has to be embedded in a website -- so using something other than YouTube isn't an option.

If you are interested please include a brief explanation of what route you will take and any related experience solving similar issues. Access to PHP backend is fine.

Thanks for reading this.

Note could also make use of the API somehow

https://developers.google.com/youtube/v3/live/getting-started

Web Development

Identifikační číslo projektu: #15186192

O projektu

2 nabídek Projekt na dálku Aktivní před 6 lety

Uděleno uživateli:

MyAwesomeTeam

Hi santabilly. do you need to solve ?.I can do it We have experience in this Video Broadcasting, Web Development I will save your time and my time, do this project fast as possible and the cost i Další

$130 SGD za 3 dní
(10 recenzí)
4.1