Title: adding javascript to JW player
Last modified: August 30, 2016

---

# adding javascript to JW player

 *  [xealpha](https://wordpress.org/support/users/xealpha/)
 * (@xealpha)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-javascript-to-jw-player/)
 * Hello I’m using s2member s2stream with JW player v6 to stream RTMP.
    I disabled
   the player controls so I need to add control and seek buttons to my videos using
   javascript as shown in this link [http://support.jwplayer.com/customer/portal/articles/1439411-example-a-chromeless-player](http://support.jwplayer.com/customer/portal/articles/1439411-example-a-chromeless-player)
 * This is my shortcode:
    [s2Stream player=”jwplayer-v6-rtmp-only” player_path=”/
   jwplayer/jwplayer.js” file_download=”vid.mp4″ player_key=”sec” count_against_user
   =”no” check_user=”no” player_controls=”false” ” /]
 * I didn’t find a way to pass javascript to JW via this shortcode, so how to add
   it to JWplayer.js or other file to make this as default behavior i.e no controls,
   just the play and seek under the video as shown in the link above.
 * Thank you!
 * [https://wordpress.org/plugins/jw-player-7-for-wp/](https://wordpress.org/plugins/jw-player-7-for-wp/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [ilGhera](https://wordpress.org/support/users/ghera74/)
 * (@ghera74)
 * [10 years, 7 months ago](https://wordpress.org/support/topic/adding-javascript-to-jw-player/#post-6679860)
 * Hi xealpha, sorry for the late!
    I can’t give you support for your needs, my 
   plugin works only with JW7. Anyway, at the moment the implementation of player
   controls using the API are not supported; I will consider to add them to the 
   Premium version in the future. Kind regards.
 *  [mfuller526](https://wordpress.org/support/users/mfuller526/)
 * (@mfuller526)
 * [10 years, 6 months ago](https://wordpress.org/support/topic/adding-javascript-to-jw-player/#post-6679924)
 * Two questions:
    1. Streaming mp3s. Where do I add the stream settings provided
   by my host, step by step.
 * FTP Host s1.streamcp.com:21
    FTP User [user@s1.streamcp.com](https://wordpress.org/support/topic/adding-javascript-to-jw-player/user@s1.streamcp.com?output_format=md)
   FTP Pass myPassword
 * 2. I’m using the SermonBrowser plugin. How do I make JWplayer be the default 
   player used on my site.
 * Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘adding javascript to JW player’ is closed to new replies.

 * ![](https://ps.w.org/jw-player-7-for-wp/assets/icon-256x256.png?rev=2679793)
 * [JW Player for WordPress](https://wordpress.org/plugins/jw-player-7-for-wp/)
 * [Support Threads](https://wordpress.org/support/plugin/jw-player-7-for-wp/)
 * [Active Topics](https://wordpress.org/support/plugin/jw-player-7-for-wp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/jw-player-7-for-wp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/jw-player-7-for-wp/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [mfuller526](https://wordpress.org/support/users/mfuller526/)
 * Last activity: [10 years, 6 months ago](https://wordpress.org/support/topic/adding-javascript-to-jw-player/#post-6679924)
 * Status: not resolved