[ Video Sharing CMS v4 ] 3.3 JW Player Logo

Started by hunt07777,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

hunt07777Topic starter

JW Player 6 LOGO/WATERMARK not showing up.
I do have a pro version of jwplayer.
I did set the domain for the key/license to my specific domain.
I did add the license to the back of phpvibe 3.3 backoffice/admin
I did upload a logo using the configuration in the back-office.

I also, hardcoded the logo file location in... class.providers.php  temporarily to test. Still nothing.

Can you please help. Thanks so much.
  •  

Marius P.

Did you replace the files for jwplayer 6 in lib/players/jwplayer with the ones from your pro version?
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

hunt07777Topic starter

#2
Ok, I just did...
But still not showing...
So I did View Source on video page...
And my code,...
<div class="video-player pull-left">
<script type="text/javascript" src="http://www.tgn10.com/lib/players/jwplayer/jwplayer.js"></script>
<script type="text/javascript">jwplayer.key="hrv9i4tgaNm+dd+tCzalOJh7px34qdtHKr8CUw==";</script>
<div id="video-setup" class="full">Loading the player...<> 
<script>     jwplayer("video-setup").setup({         
file: "http://www.youtube.com/watch?v=TZtfcnN_cak",         
image: "http://i2.ytimg.com/vi/TZtfcnN_cak/0.jpg",       
height: 390,       
aspectratio: "16:9",       
width: "100%",       
autostart: "true"  }); 
</script>
<div class="clearfix">
<>
<>


Doesnt' seem to be reflecting the logo...
however I did upload the logo to the back-office.. on the CONFIGURATION tab.
  •  

Marius P.

jwplayer("myElement").setup({ file: "/assets/myVideo.mp4", height: 360, image: "/assets/myVideo.jpg", logo: { file: '/assets/myLogo.png', link: 'http://example.com' }, width: 640 });

http://www.longtailvideo.com/support/jw-player/28841/branding-your-player (Logo example)
http://www.longtailvideo.com/support/jw-player/28839/embedding-the-player
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

hunt07777Topic starter

#4
Yah.. I get that... and saw all the code...
But I also saw your code.. in /lib/class.providers.php

And you  have... line 117
if($logo) {     $embed .= ',   logo: {         file: "'.$logo.'",  position: "bottom-right",  link: "'.site_url().'"    }'; }


so there is some if logic there, that is looking to see if a logo is uploaded to via CONFIGURATION.
and I did upload my logo there, however.. the code above is not embedding logo:....

So are you saying that I should use the code from jwplayer and hard code it? and remove your
if logo then embed.. code snippet?
  •  

Marius P.

#5
When you check the embed code (in embed video) or on page, does the logo code show up?
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

hunt07777Topic starter

  •  

Marius P.

Hmm...I guess it returns false for the logo option. Will look into it
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

hunt07777Topic starter

  •  

Marius P.

I had an error in the jwplayer function, open lib/class.providers.php and replace the function with this:

public function _jwplayer($file,$thumb, $logo = null, $type=null) {
     /** Switch jwplayer versions **/
     if(get_option('jwp_version') == 5 ) {
     return $this->_jwplayer5($file,$thumb, $logo, $type);
     } else {
     return $this->_jwplayer6($file,$thumb, $logo, $type);
     }     
     }
Happy with my help? Buy me a coffee.
Please, always use the search before opening a new topic! We're all here on our (limited) free time! Make sure you help yourself too!
  •  

hunt07777Topic starter

Ok. logo showing up now...
But for somereason when I upload my logo...
to the back office.. I get..
http://screencast.com/t/xygHTwDIHu4
  •  

hunt07777Topic starter

 OK, THIS IS SOLVED...
THE LOGO ISSUE.. I STARTED A NEW FORUM TOPIC. THANKS.
  •  

Similar topics (7)