CSS-Tricks / AnythingSlider

A jQuery Slider plugin for anything.
http://css-tricks.github.io/AnythingSlider/
GNU Lesser General Public License v3.0
1.15k stars 380 forks source link

JW Player is not working #657

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hi, the demo of the integration with JW Player is not working:

This is my enviroment:

The inclusion of JW Player has changed from this:

<script src="http://player.longtailvideo.com/jwplayer.js"></script>

To something like this:

<script src="//mywebsite.com/jwplayer/jwplayer.js"></script>
<script>jwplayer.key="ABCdeFG123456SeVenABCdeFG123456SeVen==";</script>

Please update the demo to see how it works now!

Mottie commented 7 years ago

Hi @lenin-interware!

The issue with the demo is that the files were still linked to http://css-tricks.github.com, they needed to changed to point to https://css-tricks.github.io.

The other problems I noted were:

I have updated the JWPlayer wiki instructions and the demo.

† I'm really loving the jsDelivr CDN because you can add multiple files to your "collection" and it will serve all the selected files to you in one <script> tag, e.g. https://cdn.jsdelivr.net/g/jwplayer@7.1.4,anythingslider@1.8.6(jquery.anythingslider.min.js+jquery.anythingslider.video.min.js+jquery.anythingslider.video.js)

ghost commented 7 years ago

Thanks! It works now like a charm!!