Embedded player

Area for discussing streaming over the Internet, especially as it relates to ATV
Forum rules
This forum is run by the BATC (British Amateur Television Club), it is service made freely available to all interested parties, please do not abuse this privilege.

Thank you
User avatar
G8PUO
Posts: 43
Joined: Sat Nov 08, 2014 3:07 am

Re: Embedded player

Post by G8PUO » Fri Jun 29, 2018 9:24 pm

Many thanks Bob,

I just looked at the new streaming page served source with a view to hack it and reference some objects back to BATC but will see.

Hopefully something can be provided, even it its a vanilla page with just the stream screen, so we can embed (or iFrame), into out pages for the time being.

KR Dave
G8PUO http://g8puo.com
HAMKit http://hamkit.co.uk
RILGES Repeater Group http://rilges.org.uk
SCART Television Group http://scartgroup.co.uk

User avatar
G8PUO
Posts: 43
Joined: Sat Nov 08, 2014 3:07 am

Re: Embedded player

Post by G8PUO » Mon Jul 02, 2018 5:59 pm

The wishlist item was the need to embed the new BATC streamer player into our websites.

With a both of webjiggery (new technical term), you can have this too! Happy to post details here if of interest. It has room for improvement but sure it will help some.

My temporary RILGER Repeater Site as an example http://rilges.org.uk/ This is displaying my test Dashboard. As I used HTML5, it will take around 30 seconds to load.

create a css file: stream.css
iframe {
position: absolute;
top: -185px;
left: -20px;
width: 550px;
height: 445px;
}

Add the below line in the webpage <head> section

<link rel="stylesheet" type="text/css" href="stream.css">

Add the below to your webpage

<div style="position: relative;width: 476px;height: 305px;overflow: hidden; left:-25px">
<iframe src="https://batc.org.uk/live/g8puo" scrolling="no" frameborder="no"></iframe>
</div>

The problem using flash is the need of users to enable the BATC website, hence why I took the HTML 5 route.

Hope this is of interest.
G8PUO http://g8puo.com
HAMKit http://hamkit.co.uk
RILGES Repeater Group http://rilges.org.uk
SCART Television Group http://scartgroup.co.uk

M0GLJ
Posts: 2
Joined: Wed Jun 04, 2014 9:43 am

Re: Embedded player

Post by M0GLJ » Fri May 29, 2020 10:44 pm

Hi Guy's

I'm trying to embed the video and possible the chat on my own website. I have manager to get my raspberry pi to stream video to the BATC system, but I'm having trouble getting the embed code to work on my website.

Can somebody help me with this please? I haven't been able to find any information that work to this point

Adrian
M0GLJ

g8gtz
Posts: 1733
Joined: Wed Apr 07, 2010 6:26 pm

Re: Embedded player

Post by g8gtz » Wed Jun 03, 2020 3:15 pm

Phil M0DNY replied by email:
You can find all of the Javascript required on the BATC streamer webpage (eg. view-source:https://batc.org.uk/live/m0glj )

The libraries used are referenced from Line 357.

The creation of the Player and Chat is then done from Line 515.

Unfortunately it's not very 'modular'. We would have liked it to be, but new-website deadlines and hobby projects don't always work well together!
Noel

Post Reply

Return to “Streaming”