WordPress shortcode plugin not working

You can avoid to declare that player is a dependency for your javascript file, the problem is that Jquery isn’t recognized. Change this line:

wp_enqueue_script( 'main', plugins_url( '/main.js' , __FILE__ ),array("jquery","player"),'0.0.3',true);

into this:

wp_enqueue_script( 'main', plugins_url( '/main.js' , __FILE__ ), ["jquery"] );

Also avoid to enqueue your script in the footer.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)