![]() |
Embed an internet radio into forum style? - Printable Version +- MyBB Community Forums (https://community.mybb.com) +-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html) +--- Forum: General Support (https://community.mybb.com/forum-176.html) +--- Thread: Embed an internet radio into forum style? (/thread-186229.html) |
Embed an internet radio into forum style? - rootsrat - 2015-11-11 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> RE: Embed an internet radio into forum style? - Complex - 2015-11-11 If you want it on every page then try using the following templates:
For thread try the following:
For every post try the following:
RE: Embed an internet radio into forum style? - rootsrat - 2015-11-11 Thanks for your advice. Will that code work in CSS? Sorry, this is all fairly new to me... RE: Embed an internet radio into forum style? - mrmod - 2015-11-12 (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 RE: Embed an internet radio into forum style? - rootsrat - 2015-11-12 That has worked perfectly fine, thank you all! ![]() |