Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

Logo on the Control bar...


Hi,

is it possible to place logo on the control bar.
If possible, how can I do this. Please some one help me.

Thanks in advance.

Regards,
Kamal

1 Community Answers

Todd

JW Player Support Agent  
0 rated :

We do not have built-in functionality for this, but I did write a code example to add a logo to the control bar. This is not expected to be used in a production environment, but hopefully it will give you some ideas on how to write your own custom code:

jwplayer().onReady(function(){
var myLogo = document.createElement(“div”);
myLogo.id = “myTestLogo”;
myLogo.setAttribute(‘style’,“color: red; padding-left: 5px; margin-right: 5px; margin-top: 10px; background-image: url(‘logo-red-small.png’);background-repeat: no-repeat;”);
myLogo.setAttribute(‘class’,‘jw-icon jw-icon-inline jw-button-color jw-reset jw-icon-logo’);
myLogo.setAttribute(‘onclick’,‘window.location=“http://jwplayer.com”’);
document.getElementsByClassName(‘jw-controlbar-right-group’)0.appendChild(myLogo);
});

This question has received the maximum number of answers.