Page 1 of 1

html player help

Posted: Mon Mar 05, 2018 5:34 pm
by mark5228
Hi i have a shoutcast radio which i would like to have on my forum. i use a html5 player in the overall header
The problem is when you go to a new page the radio refreshes to a set volume or will turn back on.
Is it possible to have it any where were it wont refresh. Maybe at top of the index.html & maybe a iframe.

Another option is to open the player in a small external page is this possible if i make a link to a html file

Re: html player help

Posted: Wed Mar 07, 2018 11:18 am
by Hanakin
1. no its not possible to avoid refresh that I am aware of.
2. You could add a link that opens in a popup window if you wish that would solve the issue

create a separate html file on your server with just the player in it, then place this link

<a href="url to the html file" target="blank">title of link</a>

Re: html player help

Posted: Thu Mar 08, 2018 7:20 am
by mark5228
Thank you for your response i have made a external pop up page i also put the html code on my board3 portal.
I just have a styling issue now when i centre the player it looked a bit plain, i tried expanding the player but did not like the look of it so i added a image at either side, i use logo as a example on this.

the images are not inline how do i float the images across this is my current code

Code: Select all

<span style="display: block; text-align: center;">
<img src=""</a>
<iframe width="400" height="220" src="" frameborder="0" scrolling="no" style="border-radius: 8px;"></iframe> 
<img src="" </a>