Installation of JWPlayer Advanced Plugin Failed

More
8 years 3 months ago #7867 by webdevtim
Yes I see this in view source as well. I will have to check this style by style to see where I am going wrong.

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #7868 by webdevtim
Here is what I see in Firebug:
Code:
<div id="jwplayerplg1048id64420478649ff45cca622ff593ec42ab" class="jwplayer jw-reset jw-state-complete jw-skin-seven jw-stretch-uniform jw-flag-aspect-mode jw-flag-media-audio jw-no-focus jw-flag-user-inactive" tabindex="0" style="width: 100%; height: 270px;">

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #7869 by webdevtim
I am reading the JWPlayer documentation on creating skins, and I find it really hard to understand. For instance look at this:
Code:
Option 1: Referencing the CSS on the page itself (Best Practice) Directly embedding your CSS allows for your styles to load at the same time as your page. If we've placed the above CSS into a file (Which we'll call myskinfile.css), we can reference our .css file by placing the following in our HTML page's head: <link rel="stylesheet" type="text/css" href="//yoursite.com/yourstyles/myskinfile.css"> </link> Once the above is loaded, your player configuration will still need to reference the style appended to .jw-skin- within the skin.name configuration. In this case, we've called this myskin jwplayer('myElement')setup({ "skin": { "name": "myskin" } });
I understand where to put the style sheet reference, but where do I put that JavaScript snippet? Whoever wrote this assume I already know where that is supposed to go.

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #7870 by admin
You have no javascript to set the extension do it for you.

You only have to set the url of the skin, this parameter has to be set in the backend of the extension :

awesomescreenshot.com/0876392b3d

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago #7871 by webdevtim
I actually added:
Code:
$doc->addStyleSheet('templates/'.$this->template.'/css/jwplayer/911to-std.css');

I will go ahead and remove this since the plugin already sets this.

Please Log in or Create an account to join the conversation.

More
8 years 3 months ago - 8 years 3 months ago #7872 by webdevtim
This is extremely irritating. I thought I had the JWPlayer styles set and now because JWPlayer makes some changes my styles are no longer being applied. Their documentation is confusing and almost non existent and JoomlaRulez in no better.

I REALLY DON'T HAVE TIME TO DEAL WITH THIS RIGHT NOW but it would seem that I have no choice.

Probably nothing you can do about this, but before the last update everything displayed exactly the way I wanted it to display and now I have a mess and I didn't make any changes on my end.

I changed the JWPlayer Version in Global Parameters from cdn7 to 7 and my styles are working again, but the dimensions of the play button changed so the play triangle is no longer centered.

I will go through each and every style and specifically set each and I will include those styles in my template.css file so that they don't get over-written by some subsequent upgrade.
Last edit: 8 years 3 months ago by webdevtim. Reason: Because I Wanted To

Please Log in or Create an account to join the conversation.

Time to create page: 0.188 seconds

Download

Purchase
Download Directory

Login Form