Jump to the post that solved this thread.
Solved: 7 Years, 6 Months, 2 Weeks ago Embed an internet radio into forum style?
#1
Solved: 7 Years, 6 Months, 2 Weeks ago Question 
Is it possible to embed an internet radio into a forum style, so that it'll display on top of each page?

Or at least in a post?

Here's the embed code I have

<script>(function (win, doc, script, source, objectName) { (win.RadionomyPlayerObject = win.RadionomyPlayerObject || []).push(objectName); win[objectName] = win[objectName] || function (k, v) { (win[objectName].parameters = win[objectName].parameters || { src: source, version: '1.1' })[k] = v; }; var js, rjs = doc.getElementsByTagName(script)[0]; js = doc.createElement(script); js.async = 1; js.src = source; rjs.parentNode.insertBefore(js, rjs); }(window, document, 'script', 'https://www.radionomy.com/js/radionomy.player.js', 'radplayer'));
radplayer('url', 'galnet');
radplayer('type', 'horizontal');
radplayer('autoplay', '0');
radplayer('volume', '50');
radplayer('color1', '#ffce08');
radplayer('color2', '#3399ff');
</script>
<div class="radionomy-player"></div>
Reply
#2
Solved: 7 Years, 6 Months, 2 Weeks ago
If you want it on every page then try using the following templates:
header
index
footer

For thread try the following:
showthread

For every post try the following:
postbit
postbit_classic
Reply
#3
Solved: 7 Years, 6 Months, 2 Weeks ago
Thanks for your advice. Will that code work in CSS? Sorry, this is all fairly new to me...
Reply
#4
Solved: 7 Years, 6 Months, 2 Weeks ago
(2015-11-11, 10:10 PM)rootsrat Wrote: Thanks for your advice. Will that code work in CSS? Sorry, this is all fairly new to me...

It should
Been awhile since using MYBB.
Reply
#5
Solved: 7 Years, 6 Months, 2 Weeks ago
That has worked perfectly fine, thank you all! Smile
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)