WebSite X5Help Center

 
Mike M.
Mike M.
User

Cannot Get SCM Audio Player To Work Within Website X5  en

Автор: Mike M.
Просмотрено 4016, Подписчики 1, Размещенный 0  

Hi,

Re the SCM Player.

I will come straight to the point.... I just cannot get the SCM Player player to work for me.

I would like to make it perfectly clear, however, that I am not saying that the SCM Player does not work per se - although I have found no other website incorporating it into their design in order for me to form an educated opinion - I am just saying that the SCM Player does not work for me.

The SCM Player works perfectly on the www.scmplayer.net website, where I create it, but it does not; and I repeat, does not work in Website X5 - either when adding the code into the <body> section within the Website X5 program directly, or by adding the code indirectly to the <body> section of the html once the web site has been exported from Website X5 as a html file.

The same goes for the identical audio player created at the www.wikplayer.com website.

Both of the audio players function perfectly on their respective websites, but refuse to work within Website X5.

At first, I thought that the problem was down to the fact that the website where I would like to include the SCM Player

www.beckybennett.info

includes externally added code, within the <head>, and <body>, sections for the WOW Slider Header and the Amazing Audio Player, and the Countdown Timer, and that somehow the codes may be causing a conflict when confronted with the SCM Player code - even though all three original codes exist in harmony when not confronted with the SCM Player code - but this is not the case.

I am now fully aware of this because I have, for the purpose of this experiment, now created basic websites with no extra external code added whatsoever and I still am faced with the same problem when adding the SCM Player code to them.

Here is what I do - and I will try and make it as brief, and succinct, as possible.

First, I create the audio player in scmplayer.net - whereby I choose the option of linking to You Tube music videos.

The player performs perfectly in the scmplayer.net website.

I then copy and paste the code created in the scmplayer.net website to the Home Page of my website - exactly where I am instructed to do so - which is directly below the <body> tag.

However, when I then open the Home Page I am presented with a blank white page.

If I remove the SCM Player code then the Home Page displays perfectly.

I have tried this on a couple of websites.

Without the SCM Player code inserted into the html the websites display perfectly.

With the SCM Player code inserted into the html the websites just display a blank white screen.

I can only assume that the SCM Player code generated, when creating the player at scmplayer.net is missing some salient snippet of code in order for it to work with websites created with Website X5 or that the structure of websites created with Website X5 does not allow for the SCM Player code to work.

Either way, I have found the whole process extremely frustrating.

I would really like to add the SCM Player to my website and I just want it to work as promised - just like the code for the WOW Slider and Amazing Audio Player and the Countdown Timer does.

For the convenience of any visitor reading this post I have included the snippet of code I created at scmplayer.net for inclusion below the <body> tag of my website - just in case anyone with a greater understanding of how the code works may be able to see a fault anywhere within the code that could be causing this issue.

The songs chosen were at random, and with no infringement of copyright intended. I do not intend to use the songs I selected within the player on my website: it is just that I had to choose something to link to in order to generate the code for the SCM Player.

Thanks, in anticipation, for any assistance provided.

The code created for the player at scmplayer.net - which I have to insert directly after the <body> tag on my Home page is as follows:

<!-- SCM Music Player http://scmplayer.co -->
<script type="text/javascript" src="http://scmplayer.co/script.js"
data-config="{'skin':'skins/scmRed/skin.css','volume':59,'autoplay':false,'shuffle':false,'repeat':1,'placement':'top','showplaylist':false,'playlist':[{'title':'Let It Snow','url':'https://www.youtube.com/watch?v=o2uvtl-1V70'},{'title':'Santa Claus Is Coming To Town','url':'https://www.youtube.com/watch?v=G6Lp0i_I34w'},{'title':'Rockin%27 Around The Christmas Tree','url':'https://www.youtube.com/watch?v=dxHL36aJvGU'}]}" ></script>
<!-- SCM Music Player script end -->

Thanks,

Mike.

Размещено
1 Ответы