WebSite X5Help Center

 
Steve B.
Steve B.
User

Radio Player  en

Autor: Steve B.
Visitado 1606, Seguidores 1, Compartilhado 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

Publicado em
17 RESPOSTAS - 3 ÚTEIS - 1 CORRIGIR
Daniel W.
Daniel W.
User
Usuário do mês EN

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.

Ler mais
Publicado em de 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.

Ler mais
Publicado em de 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.

Ler mais
Publicado em de Esahc ..
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... 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/pt/post/78483
https://helpcenter.websitex5.com/pt/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

.

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... ... ... ... ... ... 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

.

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Autor

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. 

Ler mais
Publicado em de Steve B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... 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

.

Ler mais
Publicado em de  ‪ 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. :)

Ler mais
Publicado em de Joabe Arruda
Steve B.
Steve B.
User
Autor

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

Ler mais
Publicado em de Steve B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

... 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)...

.

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Autor

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. 

Ler mais
Publicado em de Steve B.
Daniel W.
Daniel W.
User
Usuário do mês EN

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

Ler mais
Publicado em de Daniel W.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

You closed the various Topic.

If you still care, reopen and let me know.

Ciao

.

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Autor

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.).  

Ler mais
Publicado em de Steve B.
Steve B.
Steve B.
User
Autor

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.

Ler mais
Publicado em de Steve B.
 ‪ KolAsim ‪ ‪
 ‪ KolAsim ‪ ‪
Moderator

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

The Staff is on break until Monday.

Ciao

.

Ler mais
Publicado em de  ‪ KolAsim ‪ ‪
Steve B.
Steve B.
User
Autor

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

Ler mais
Publicado em de Steve B.