Jump to content
Search Community

Using plugins in Codepen Projects (NOT Pens!)

4di test
Moderator Tag

Warning: Please note

This thread was started before GSAP 3 was released. Some information, especially the syntax, may be out of date for GSAP 3. Please see the GSAP 3 migration guide and release notes for more information about how to update the code to GSAP 3's syntax. 

Recommended Posts

Hi - I'm able to use the bonus plugin trial URLs (for e.g. DrawSVG) just fine in a CodePen Pen but not in a CodePen Project. Projects are different from Pens

 

Here is the CodePen project that is failing to load the trial URL: https://codepen.io/adiun/project/editor/XvLQEG

 

I'm able to copy the DrawSVGPlugin.min.js into the project and import that to get around this problem, but ideally I'd like to use the trial URL (https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/DrawSVGPlugin.min.js). The CodePen Project I linked to in this topic is not able to load the trial URL because of this error: 

 

Quote

Mixed Content: The page at 'https://codepen.io/adiun/project/editor/XvLQEG#' was loaded over HTTPS, but requested an insecure resource 'http://greensock.com/requires-membership/?plugin=DrawSVGPlugin&source=codepen'. This request has been blocked; the content must be served over HTTPS.

 

I'm trying to load it like this in index.html:

 

<script src="https://s3-us-west-2.amazonaws.com/s.cdpn.io/16327/DrawSVGPlugin.min.js"></script>

 

Thanks in advance for any help!

See the Pen XvLQEG by adiun (@adiun) on CodePen

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...