SCM music player on a website

Kevin Desai

I want to implement a audio player on my website, it isnt a single page website and consist of multiple HTML pages.

I searched a lot and found scm music player to be the best choice. http://scmplayer.net/

I even started coding it. I just tried to implement the player in a blank html page Here is my code -

<html>

            <head>

            </head>
            <body>
            Test
            </body>

            </html>
            <script type="text/javascript" src="http://scmplayer.net/script.js" 
            data-config="{'skin':'skins/tunes/skin.css','volume':58,'autoplay':true,'shuffle':false,'repeat':1,'placement':'bottom','showplaylist':false,'playlist':[{'title':'Kabira (2013)','url':'https://soundcloud.com/kevin-desai-2/yeh-jawaani-hai-deewani-2013/s-KSS3w'},{'title':'Phir Muhabbat','url':'https://soundcloud.com/kevin-desai-2/phir-muhabbat-instrumental-1'},{'title':'Tum Hi ho- Aashiqui 2','url':'https://soundcloud.com/kevin-desai-2/tum-hi-ho-song-instrumental/s-tzfTz'},{'title':'Manzar Song','url':'https://soundcloud.com/kevin-desai-2/phir-muhabbat-instrumental/s-GLuGp'}]}" ></script>

I tried putting the script tag everywhere, but the music player does not appear only.

How do I get it to work?

Stewart Mbofana

Put the script after the opening body tag like this

<!DOCTYPE html>

<head>
    <title>Test App</title>
</head>
<body>
    Test
    <script type="text/javascript" src="http://scmplayer.net/script.js" data-config="{'skin':'skins/tunes/skin.css','volume':58,'autoplay':true,'shuffle':false,'repeat':1,'placement':'bottom','showplaylist':false,'playlist':[{'title':'Kabira (2013)','url':'https://soundcloud.com/kevin-desai-2/yeh-jawaani-hai-deewani-2013/s-KSS3w'},{'title':'Phir Muhabbat','url':'https://soundcloud.com/kevin-desai-2/phir-muhabbat-instrumental-1'},{'title':'Tum Hi ho- Aashiqui 2','url':'https://soundcloud.com/kevin-desai-2/tum-hi-ho-song-instrumental/s-tzfTz'},{'title':'Manzar Song','url':'https://soundcloud.com/kevin-desai-2/phir-muhabbat-instrumental/s-GLuGp'}]}" > </script>

</body>

Also add the title.

Hope it works.

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Can't hide the SCM Music Player on Tumblr

From Dev

Stupid simple music player?

From Dev

Music player control in notification

From Dev

For Loops and jquery music player

From Dev

Music player for Python not working

From Dev

Stupid simple music player?

From Dev

Music player control in notification

From Dev

Bluetooth Music Player

From Dev

Lightweight Music Player distro

From Dev

Music player for huge library

From Dev

Music Player that loads automatically music from folder

From Dev

Control the default music player of android or any other music player

From Dev

Which music player has visualizations?

From Dev

Music player that supports multiple genres

From Dev

Android Music Player inside a fragment

From Dev

Music player that supports multiple genres

From Dev

Which music player has visualizations?

From Dev

Music player with random song command

From Dev

Music Player "easy" Div prob

From Dev

Use default music player in Dash

From Dev

how to detect when Music is played using Native Music Player?

From Dev

Notifying native music player that a music file is added to storage

From Dev

Set Music Playback Slider in Music Player App with Swift?

From Dev

How to import music into a music player from another partition?

From Dev

Issues with replaying music in Android Media Player

From Dev

ViewPager transition like Google Play Music "Player"

From Dev

Android Studio music player list view playlist

From Dev

Music player does not play item selected

From Dev

A Music Player with CD ripping and CDDB lookup