Has the ark player web integration changed?

Hi all,

we’ve had a web page to have the ark player play a playlist, but it stopped working sometime in the last couple of months. We didn’t notice because the pages were not live.

the anchor tag for the player is

is there a simple page somewhere that shows an inline reference to the player? if I can start with a working sample i can retro fit what’s wrong.

thanks John Mott WXNA Nashville

No, it hasn’t changed recently.

I looked at the JS console for your page and saw a number of errors. The first one says that the function $ is not defined. This usually means that a script is using the jQuery library before it has been loaded.

image

That’s followed by other JS errors.

Dunno if it’s simple but these are the instructions. You can skip item 3 if you want. But this looks to all be already done on your page.

You could try updating your asset links. At present you have

<link rel='stylesheet' id='spinitronArkWidget-css' href='https://cdn.jsdelivr.net/gh/spinitron/ark-player@4.3.2/dist/arkPlayer.css?ver=1.0.0' type='text/css' media='all' />
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/hls.js@latest?ver=1.0.0" id="spinitronJS1-js"></script>
<script type="text/javascript" src="https://cdn.jsdelivr.net/gh/spinitron/ark-player@latest/dist/arkPlayer.js?ver=1.0.0" id="spinitronJS2-js"></script>

We no longer suggest specifying versions, see the instructions, although I doubt this is the cause of the problem since the code hasn’t changed in 18 months and yours was working 2 months ago.

I think those JS errors could be preventing the player from working. Feel free to call me during the week to discuss.