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.
[url removed, login to view]
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="[url removed, login to view]" 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
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 Daha Fazla