WebSite X5Help Center

 
Steve B.
Steve B.
User

Radio Player  en

Author: Steve B.
Visited 1635, Followers 1, Shared 0  

Hi

I previously posted this question when I was building the website but it was slightly misunderstood.

So I have put the radio player in the header https://3bsradio.co.uk/index.html

The player does not start automatically until the viewer selects to do so. If the viewer then clicks on another page within the website the radio player goes off. I wnat it to stay on without the viewer having to select the pop out option. 

It can be done because a different radio station are using the same radio player software and it does stay on when you change page within the website. https://www.crmk.co.uk

I notice that when I change page on CRMK the header stays the same (No refresh) whereas on the header on the site designed in X5 (3Bs Radio) the header refreshes, is this the problem and can it be resolved?

Thanks in advance

Steve

Posted on the
17 ANSWERS - 3 USEFUL - 1 CORRECT
Daniel W.
Daniel W.
User

On the other website there is a lot of script and only a little HTML code.

The script experts would have to say how to do this and whether it can also be done with WebSite X5.

Read more
Posted on the from Daniel W.
Esahc ..
Esahc ..
Moderator

Steve, the player on crmk does stay on but it is not continuous, it appears to "restart" when pages are changed.

Have you considered opening a link to the player in a new window. This would mean that the player will continue unaffected as users move around the website unless they close the window. You could even do this using the advertising message in step 1, settings.

Read more
Posted on the from Esahc ..
Esahc ..
Esahc ..
Moderator

A better way may be in the direction you appear to be heading on the home page. A single page website where the player is in the header and a sticky bar is used for navigation where required.

Read more
Posted on the from Esahc ..
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

... x Steve B.,  (It > En)  ... is a duplicate of the other Topic, of which you have not given feedback (not even of others left pending !!!) and on which you should have continued to avoid going around it wasting time with repetitions...
... personally I had not misunderstood(!),  and the gist is just in what I told you for the continuous background sound, simple to understand and easy to achieve in all three suggested ways...
... I repeat it because it is not a novelty addressed nowcool, ...but which I repeat for three "five-year periods" (3 lustri):
https://helpcenter.websitex5.com/en/post/78483
https://helpcenter.websitex5.com/en/post/60646
etc etc... .. .. . . .
... therefore being a peculiar request, it is not a problem of the Program, but it will depend on you what you want to do with what will be more friendly to you...wink...

ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

... ... ... ... ... ... as far as Autoplay (*) is concerned, in "mobile" it has not always been possible, as also mentioned in the old Guides, and recently the same protocol has also been adopted in recent and popular PC browsers (*) ...

(*) ... therefore and in any case, interaction is required by clicking on Play, (or returning from another page) ...

.

ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Author

Ciao I thought I had left a green tick next to everyone. Sorry if you feel offended your input is much appreciated. Some of the posts did not seem to understand the problem and I am still confused by some replies. Some of us are not as technically advanced as others. 

Read more
Posted on the from Steve B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

... no offense, don't worry, as you have seen these are just suggestions ...
... it is better not to leave open topics ...
... if you need further clarification, let her know...wink

ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Joabe Arruda
Joabe Arruda
User

Hi, I could see you haven't found a solution to this.

Well, let's go...

1. There is no way to make this player run without interruption after page loading.

2. The only way to do this is in advanced mode using advanced scripting and API integration from RadioCo.

But to improve what you already have, using WebSiteX5, you can do this way...

1. Add this before closing the HEAD tag...

<link rel="stylesheet" href="https://embed.radio.co/css/players.min.2022.07.15.1218.css">

2. Add this after the BODY tag...

<script>
window.playerSettings = {
id: 'e1d8cda',
station_id: 's3e324f4f5',
backgroundColour: '#fcfcfc',
accentColour: '#7b919d',
textColour: '#364349',
cornerStyle: 'Rounded',
trackInformation: '1',
width: '300',
size: 'medium',
type: 'classic',
autoplay : true,
artwork: true,
spotify : false,
popout: true,
url: 'https://s4.radio.co/s3e324f4f5'
output: null,
outputs: [{"name":"listen","format":"MP3","bitrate":128}],
social: {"twitter":false,"facebook_share":false,"embed":false,"template":"Radio.co"},
stationSuspended: false,
stationMigrating: false,
stationLogo: '/images/default_logo.png',
stationName: '3Bs Radio',
publicApiV2URL: 'public.radio.co',
};
</script>
<script src="https://embed.radio.co/js/embed.min.2022.07.15.1218.js"></script>

3. You can add this anywhere on your site using HTML...

<div class="radioco-player"></div>

------------------------------------------------------------------------------

This won't do what you want precisely, but it will make better than you already have. This way after the visitor clicks on some other page of the site, the player will run again and automatically.

Unfortunately, without advanced integration, it is only possible this. :)

Read more
Posted on the from Joabe Arruda
Steve B.
Steve B.
User
Author

Thanks Joabe Arruda, I have entered this code but it is still not working.

Read more
Posted on the from Steve B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

... so it gets confusing ...
... here it is not a problem of the Program, ...but it is simpler than simple; ...to get continuous background sound without interruption (even on third pages), it has always been possible to do so in the ways already suggested in the other Topic...
... in fact the radio link previously posted uses the FRAME (two),  which is solved with simple HTML EXTRA code, which I had already anticipated in the other Topic...
... so you can use both embed code (html + frame1)  and HTML5 <audio> + stream-listen (html + frame1)...

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Author

KoiAsim, on the previous Post on the other question page which you refer to the answer is not in English and I cannot translate it. I need to use their radio player, will your fix achieve this? Thank you in advance I am so confused. I have tried all the suggestions so far the closest to a solution was a pop up box but I need it to stay in view when the page is changed. 

Read more
Posted on the from Steve B.
Daniel W.
Daniel W.
User

Translation with Chrome or Firefox addon, see

-----

Translate webpages in Chrome

When you come across a page written in a language you don't understand, you can use Chrome to translate the page.

  1. On your computer, open Chrome.
  2. Go to a webpage written in another language.
  3. On the right of the address bar, click Translate .
  4. Chrome will translate your current webpage.

-----

Firefox addons >> https://addons.mozilla.org/en-US/firefox/search/?q=translate

Read more
Posted on the from Daniel W.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

You closed the various Topic.

If you still care, reopen and let me know.

Ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Author

KoiAsim (Ciao) I did not close the post it was incomedia staff. Thank you for your assistance and comments to date!!!!! (It does state 'This post was signed as solved by the author or the Incomedia staff.).  

Read more
Posted on the from Steve B.
Steve B.
Steve B.
User
Author

KoiAsim (Ciao) The only comment I ticked correct was how to translate your original posts into English, the problem with the radio player (NOT A MEDIA PLAYER) is still not solved. There have been some very interesting ideas which I may have an option by combining some ideas. Thankyou everyone.

Read more
Posted on the from Steve B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator
Best User of the month ESBest User of the month PT

No! Did you close on the gear of Daniel's Post.

The Staff is on break until Monday.

Ciao

.

Read more
Posted on the from  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Author

Did it on my phone last night so may have hit wrong thing as icons close together.

Read more
Posted on the from Steve B.