latest stable versions: v150827 (changelog)

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Custom Watermark for JWPlayer 6

Home Forums Community Forum Custom Watermark for JWPlayer 6

This topic contains 7 replies, has 3 voices. Last updated by  Jason (Lead Developer) 3 years, 10 months ago.

Topic Author Topic
Posted: Tuesday Feb 19th, 2013 at 7:20 pm #42525
Echomango
Username: echomango

Has anyone been able to get the custom watermark for JWPlayer 6 working? I have been experimenting with the short codes in the download section but I can’t seem to get it to work. Any suggestions?

Thanks.

List Of Topic Replies

Viewing 7 replies - 1 through 7 (of 7 total)
Author Replies
Author Replies
Posted: Wednesday Feb 20th, 2013 at 8:58 am #42577

Hi Echomango.

You can use the [hilite mono]player_option_blocks[/hilite] shortcode attribute. [hilite path]Dashboard -› s2Member® -› Download Options -› Shortcode Attributes & API Functions -> player_option_blocks[/hilite]

The custom, clickable logo requires JW Player Pro. http://www.longtailvideo.com/support/jw-player/29244/custom-clickable-logo

So you will need to add your JW Player license key too. For the logo, then, you’d need to have the following attributes in your shortcode:

[hilite pre_code]
player_key="my-jwplayer-pro-license-key" player_option_blocks="logo:{file:'/logo.png',link:'http: //example.com'}"
[/hilite]

I hope that helps. :)

Posted: Wednesday Feb 20th, 2013 at 9:31 am #42579
Echomango
Username: echomango

Yes, thank you Christian – I had used:

player_option_blocks=”sharing:{}, logo: {file: ‘/echomangologo.png’, link: ‘http://example.com’}”

but was not successful. I am assuming I place this shortcode along with the other shortcode that calls the video. Correct? I wonder if I am getting the path of the image incorrect. I placed the image in the jwplayer base directory and used the shortcode above but no watermark. Any suggestions?

Posted: Thursday Feb 21st, 2013 at 2:04 am #42653
Staff Member

It is best to use either a full URL to your image, or a relative path from the document root.

Full URL: http://www.example.com/wp-content/uploads/logo.png
Relative path from root: /wp-content/uploads/logo.png

Posted: Thursday Feb 21st, 2013 at 9:34 am #42721
Echomango
Username: echomango

Thanks Jason. I used both the url and the relative path and neither seems to be working. In fact, if I paste in the short code the vid doesn’t come up at all. Here is what I paste into the post. Maybe you can see my error. I removed the actual player key and the actual url’s.

[s2Stream player="jwplayer-v6" player_path="/jwplayer6/jwplayer.js" player_key="playerkey" file_download="video.mp4" player_width="640" player_height="360" player_image="http://echosite.com/wp-content/uploads/test.png" player_option_blocks=”sharing:{}, logo: {file: ‘/jwplayer6/test2.png’, link: ‘http://example.com’}” rewrite="yes" /]

When I try it without the sharing and link the video comes up, the image cover image is there but still no watermark.

[s2Stream player="jwplayer-v6" player_path="/jwplayer6/jwplayer.js" player_key="playerkey" file_download="video.mp4" player_width="640" player_height="360" player_image="http://echosite.com/wp-content/uploads/test.png" player_option_blocks=” logo: {file: ‘/jwplayer6/test2.png’}” rewrite="yes" /]

Any ideas would be greatly appreciated. Thanks.

Posted: Thursday Feb 21st, 2013 at 10:37 am #42736
Staff Member

Thanks for the follow-up :-)

I will assume that player_key="playerkey" actually contains a real JW Player key, correct?

I will also assume that where you have fancy quotes in this post, that happened because you did not wrap the Shortcode with <code> tags, correct? You should have single quotes around the value of your file location:
Example: player_option_blocks="logo:{file:'/jwplayer6/test2.png'}"

If all of that is correct, it actually sounds like your JW Player license key is simply not working on this domain where your JW Player is located. Can you please confirm this for us? Thanks!

If problems persist, you can submit a Dashboard login and we’ll review things for you. Or, you might also want to contact Longtail Video to ask about the validity of your JW Player key on this domain. Just to be sure. The fact that you have a JW Player logo at all, suggests the key is not working properly.

Posted: Thursday Feb 21st, 2013 at 12:21 pm #42743
Echomango
Username: echomango

Thanks Jason! When I pasted in your shortcode and entered the png file it works just fine! Many thanks.

Posted: Friday Feb 22nd, 2013 at 10:08 pm #42886
Staff Member

Great! Thanks for reporting back :-)

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

This topic is closed to new replies. Topics with no replies for 2 weeks are closed automatically.

Old Forums (READ-ONLY): The community now lives at WP Sharks™. If you have an s2Member® Pro question, please use our new Support System.

Contacting s2Member: Please use our Support Center for bug reports, pre-sale questions & technical assistance.