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
g8gtz
Posts: 1161
Joined: Wed Apr 07, 2010 6:26 pm

Embedded player

Post by g8gtz » Fri Feb 25, 2011 2:41 pm

Hi

Does anyone know if it is possible to embed the player on a seperate web site - and if so how??

73

Noel - G8GTZ

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

Re: Embedded player

Post by g8gtz » Fri Feb 25, 2011 6:45 pm

A little more research and I have answered mine own question.

To just have the video player embedded, paste the following code in to the HTML web page - change the stream name as required.

<object width="550" height="400">
<param name="movie" value="somefilename.swf">
<embed src="http://www.batc.tv/player/BATCPlayer.swf"
width="320" height="310"
quality="high"
allowFullScreen="true"
FlashVars="vol=1.0&video=gb3pv&islive=true&auto=true"
name="main"
align="middle"
allowScriptAccess="sameDomain"
pluginspage="http://www.macromedia.com/go/getflashplayer"
type="application/x-shockwave-flash" />
</embed>
</object>

User avatar
G0NMY
Posts: 75
Joined: Wed Nov 11, 2009 6:10 pm

Re: Embedded player

Post by G0NMY » Tue Jun 18, 2013 7:49 am

The code above does not seem to work if I change it to my callsign,

however I found that I have to change it to the hex code that adobe media encoder uses to connect to the server.
I am not sure if that is the correct way to do it but it appears to work
cheers Mark

http://g0nmy.blogspot.co.uk/
http://www.g0nmy.blogspot.co.uk/

¡ʎɐqƎ ɟɟo pɹɐoqʎǝʞ ɐ ʎnq I ǝɯᴉʇ ʇsɐl ǝɥʇ sᴉ sᴉɥʇ

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

Re: Embedded player

Post by g8gtz » Tue Jun 18, 2013 8:38 am

Hi Mark,

That's correct - previously the stream name was the call sign, but on more recent streams it is a (random?) hex code given out when you register for a stream.

Caught me out the other day as well ;-)

73

Noel

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

Re: Embedded player

Post by g8gtz » Sun Jun 23, 2013 5:11 pm

I've confirmed it is now a random string given out when you register to prevent others from hijacking your stream.

Noel - G8GTZ

g8fyh
Posts: 2
Joined: Tue Sep 09, 2014 8:43 pm

Re: Embedded player

Post by g8fyh » Tue Sep 16, 2014 8:28 pm

Help needed please

I am trying to stream to my website and have inserted the code as in the above posts, changed the callsign to the hex stream in Media Player but it doesn't appear to want to work.
I can stream to the BATC Member's stream without any problems, so that part of the process is OK, it's just getting the code correct to insert into a page on my website.
Any Ideas what I am doing wrong?
Thanks
Laurie G8FYH

M0DTS
Posts: 391
Joined: Sun Feb 24, 2008 9:03 pm

Re: Embedded player

Post by M0DTS » Wed Sep 17, 2014 9:32 am

Maybe somehow the object tag is upsetting it, just the embed section seems to work.

Try adjusting this, works fine here for a couple of members streams i tried with the char code.

Rob
M0DTS

<embed src="http://www.batc.tv/player/BATCPlayer.swf" quality="high" allowfullscreen="true" flashvars="vol=1.0&video=gb3km&islive=true&auto=true" name="main" allowscriptaccess="sameDomain" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" align="middle" height="310" width="320">

g8fyh
Posts: 2
Joined: Tue Sep 09, 2014 8:43 pm

Re: Embedded player

Post by g8fyh » Wed Sep 17, 2014 5:28 pm

Thanks Rob,
That seems to be the answer, all I've got to do now is get my AV to USB converter to work.
Laurie G8FYH

G8PUO
Posts: 28
Joined: Sat Nov 08, 2014 3:07 am

Re: Embedded player

Post by G8PUO » Fri Jun 29, 2018 2:12 pm

Trying to find the updated details on embedding a player using the new streaming service.

Please can anyone help?

Thanks
Dave G8PUO
G8PUO http://g8puo.com
HAMKit http://hamkit.co.uk
RILGES Repeater Group http://rilges.org.uk
KRG - Kent Repeater Group http://krg.org.uk

aerostar
Posts: 10
Joined: Tue Jul 26, 2016 7:40 pm

Re: Embedded player

Post by aerostar » Fri Jun 29, 2018 2:54 pm

Hi, The old streamer, which apparently will be turned off shortly was easy to get showing on website page, as at this moment I have it still running on DDRC website, direct link to page, though the other 2 repeaters on same page have/or are migrating to new streamer so only GB3TZ and GB3TV are currently running though they are liable to interruption at times.

http://www.ddrcbootsale.org/g4ddc/streaming.htm

But I fear it will not be as easy with the new streamer/wordpress - have a look at the page source, it is horrendous, and large 120k, nothing there to get any info on to even try.

I have asked BATC if some easy code can be made available - but the answer was "Sorry, but this one is going to need some work to sort out, and may take some time.

We’ll look at it as soon as we can and get back to you."

So we will have to wait - and see.

regards to all
Bob
G6KMM
DDRC

Post Reply

Return to “Streaming”