Closed dannylamb closed 4 years ago
If folks don't have objections to this approach, I'll update the ansible and ISLE stuff appropriately afterwards :fire: :fire: :fire:
@dannylamb do you still need a reviewer on this?
There's still work to do here. I've got to figure out how to programatically get the version from the library config. I made an attempt a week or so ago and it thwarted me.
This fixes the problem I've had with displaying openseadragon on subsites! :+1:
@dannylamb i just tested this and it worked wonders for an issue i was having with multisite - is it waiting for anything or can i go ahead and review + merge?
Let's move it in and we'll do a follow up to fix it. Right now, if you want to update the library, you'll have to touch up 3 or 4 spots. I could figure out how to make it a single variable you have to touch up, but it gave me grief last i tried.
Ah, @bseeger ++!!!!
Love it when i'm ninja'd by a merge!
GitHub Issue:
What does this Pull Request do?
Uses a CDN for the openseadragon JS and images, which simplifies deployment. One less step to get the module up and running.
What's new?
Changed the library definition so that it points to a CDN for openseadragon. Plus changed the
prefixUrl
config for the JS to use the CDN as well, so the button images for the player are loaded over https.How should this be tested?
web/sites/all/assets/vendor/openseadragon
drush cr
Additional Notes:
This started out as me wanting to ship openseadragon with composer, but there's no "community way" to do that yet, and it involves a lot of consistency across root composer files for all Islandora sites using openseadragon. You can't just do it from the module's composer.json. So I did this. Maybe it's useful to someone?
Interested parties
@Islandora/8-x-committers