-
-
Notifications
You must be signed in to change notification settings - Fork 425
Closed
Description
Good day!
Version Amplitude.js - 4.0.0
Installation instructions studied. I'm trying to install the player on Joomla by the third method - manual installation (while on the local server). What am I doing wrong?
I downloaded Amplitude.js from GitHub. The amplitude.js file added to the </ head> area - <script type="text/javascript" src="/js/amplitude.js"> </ script>. In the place of the site where I want to see the player, I initialize its output:
<script type="text/javascript"> Amplitude.init({ "songs": [ { "name": "Song Name 1", "artist": "Artist Name", "album": "Album Name", "url": "/song/url.mp3", "cover_art_url": "/cover/art/url.jpg" }, { "name": "Song Name 2", "artist": "Artist Name", "album": "Album Name", "url": "/song/url.mp3", "cover_art_url": "/cover/art/url.jpg" }, { "name": "Song Name 3", "artist": "Artist Name", "album": "Album Name", "url": "/song/url.mp3", "cover_art_url": "/cover/art/url.jpg" } ] }); </script>Result: the player does not even appear. In the console, such a picture - https://prnt.sc/meo2ix
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels