EMBED LIVE STREAM GOOGLE/YOUTUBE

User 2435248 Photo


Registered User
54 posts

I want to embed this live stream into my website but every time turn off the stream then turn it back on it makes a new URL is there a way to have a auto updating embedded url or some thing

Any tips or any Ideal on how to fix this or even a better live streaming Free website or something would really be helpful

http://jilmi.org/Broadcast.html

right now I have the bottom embed connected to the current live stream url (if it dont work we started a new one )
User 2435248 Photo


Registered User
54 posts

we are currently using LIVESTREAM.com as a back up witch I hate because it forces you to use one crappy embed code and other things
User 2073552 Photo


Registered User
1,625 posts

Have you tried CC's Stream?
"An Apple doth not fall far from its tree, yet an orange does."

https://lbwebsitedesign.com - Responsive Web Design & Web Hosting Services.
http://helpsite.sirage.com - HTML5, CSS3 and CC Help Video Blog.
User 2435248 Photo


Registered User
54 posts

ok so after allot of searching I found this

https://github.com/MoritzT/HOA-Static-Player

looks like exactly what I need but I am not 100% sure on how to use

I think i do some thing like this
I add file hangoutonair.min.js to my files

then add
<script type="text/javascript" src="hangoutonair.min.js"></script>


to my hedder

use
<div class="onair" data-uid="JESUS" data-width="260" data-height="145"></div>


in my html box

is that right?
User 2435248 Photo


Registered User
54 posts

it didnt work nothing shows up at all were I put the html box at all

http://jilmi.org/Broadcast.html

it should be right underneath youtube and Godtube links but nothings there at all

what I do wrong?
User 38401 Photo


Senior Advisor
10,951 posts

Are you aware that YouTube has an embedding setup on their videos that you can get the code from them to use? Dunno about google, but Youtube does for sure.
User 2435248 Photo


Registered User
54 posts

Jo Ann wrote:
Are you aware that YouTube has an embedding setup on their videos that you can get the code from them to use? Dunno about google, but Youtube does for sure.


yes I know but with HOA "Hangout ON AIR" it makes a new video every time this script I found make it so the embed auto updates to the newest "onair" stream you have on your account

I just dont know how to use it right yet
User 271657 Photo


Ambassador
3,816 posts

Seems like you would also need to include the actual "hangoutonair.min.js" file.
Download the zip file from the site or copy the code from the link given below and in VSD, go to Edit > Add Files and put it there so it will get uploaded with the site.

This is from the creator's Google+ page:
I have updated the script to make it a bit more usable and to support multiple video players on one page.

Example: http://tolxdorff.net/hoatest.html

The updated code is on GitHub (http://goo.gl/p9CQW)
It now requires jQuery which you have to include in the head of your page as well as the HOA script.

Once you included the script you can add the player with the following code:
<hoaplayer id="_YOUTUBEID_" width="260" height="145"></hoaplayer>

Make sure to replace the YouTube ID with your own YouTube ID.
I love deadlines. I like the whooshing sound they make as they fly by. (Douglas Adams)
https://www.callendales.com
User 2435248 Photo


Registered User
54 posts

I have it in my files but nothing happens at all
User 38401 Photo


Senior Advisor
10,951 posts

Interesting, I've looked at a lot of Youtube videos that are embedded in sites and it seems they have them setup where it's just that video. It could be you're using the wrong code maybe?

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.