-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cdn #26
Conversation
If folks don't have objections to this approach, I'll update the ansible and ISLE stuff appropriately afterwards 🔥 🔥 🔥 |
@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! 👍 |
@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? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great and fixed the issue I was seeing.
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