Skip to content

Commit a06f10b

Browse files
authored
Merge pull request #55 from eidietrich/add-faq
Add FAQ point RE graphic asset hosting location
2 parents 5ee2833 + b525f3c commit a06f10b

File tree

1 file changed

+14
-9
lines changed

1 file changed

+14
-9
lines changed

docs/readme.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,16 @@ Contents:
2020
2. [Why is a WordPress plugin needed to use Pym.js?](#why-is-a-wordpress-plugin-needed-to-use-pymjs)
2121
3. [When would I use a Pym.js solution versus embed code without using Pym.js?](#when-would-i-use-a-pymjs-solution-versus-embed-code-without-using-pymjs)
2222
4. [Is Pym.js or this plugin dependent on jQuery or any other library?](#is-pymjs-or-this-plugin-dependent-on-jquery-or-any-other-library)
23-
5. [What is the URL for pym.v1.min.js?](#what-is-the-url-for-pymv1minjs)
24-
6. [What is the difference between `Pym.js` and `pym.v1.min.js`?](what-is-the-difference-between-pymjs-and-pymv1minjs)
25-
6. [Why would I want to change the Pym.js source URL?](#why-would-i-want-to-change-the-pymjs-source-url)
26-
7. [I've set a different pymsrc option, but now I'm seeing a message in the console](#ive-set-a-different-pymsrc-option-but-now-im-seeing-a-message-in-the-console)
27-
8. [How do I serve Pym.js if the embedded page uses HTTPS and my site does not?](#how-do-i-serve-pymjs-if-the-embedded-page-uses-https-and-my-site-does-not)
28-
9. [How do I know if there's an HTTPS problem with a given embedded iframe?](#how-do-i-know-if-theres-an-https-problem-with-a-given-embedded-iframe)
29-
10. [What license is this plugin licensed under?](#what-license-is-this-plugin-licensed-under)
30-
11. [How do I contribute to this plugin?](#how-do-i-contribute-to-this-plugin)
31-
12. [How do I get support for this plugin?](#how-do-i-get-support-for-this-plugin)
23+
5. [Where should I put the graphic files I want to embed using `Pym.js`?](#where-should-i-put-the-graphic-files-i-want-to-embed-using-pymjs)
24+
6. [What is the URL for pym.v1.min.js?](#what-is-the-url-for-pymv1minjs)
25+
7. [What is the difference between `Pym.js` and `pym.v1.min.js`?](what-is-the-difference-between-pymjs-and-pymv1minjs)
26+
8. [Why would I want to change the Pym.js source URL?](#why-would-i-want-to-change-the-pymjs-source-url)
27+
9. [I've set a different pymsrc option, but now I'm seeing a message in the console](#ive-set-a-different-pymsrc-option-but-now-im-seeing-a-message-in-the-console)
28+
10. [How do I serve Pym.js if the embedded page uses HTTPS and my site does not?](#how-do-i-serve-pymjs-if-the-embedded-page-uses-https-and-my-site-does-not)
29+
11. [How do I know if there's an HTTPS problem with a given embedded iframe?](#how-do-i-know-if-theres-an-https-problem-with-a-given-embedded-iframe)
30+
12. [What license is this plugin licensed under?](#what-license-is-this-plugin-licensed-under)
31+
13. [How do I contribute to this plugin?](#how-do-i-contribute-to-this-plugin)
32+
14. [How do I get support for this plugin?](#how-do-i-get-support-for-this-plugin)
3233
6. [Other Pym.js Resources](#other-pymjs-resources)
3334

3435
## Plugin Installation
@@ -179,6 +180,10 @@ For the Pym.js shortcode or the Pym.js block to work, the `Pym.js` JavaScript li
179180

180181
Nope, all the required JavaScript is self-contained in the plugin-provided copy of `pym.v1.min.js`. The shortcode will enqueue `pym.v1.min.js` on the parent page when necessary. You will need to include `pym.v1.min.js` on the embedded page, however.
181182

183+
### Where should I put the graphic files I want to embed using `Pym.js`?
184+
185+
Child graphic assets could go in your WordPress server's uploads directory, uploaded via SFTP. Or on a GitHub page. Or on Amazon S3.
186+
182187
### What is the URL for `pym.v1.min.js`?
183188

184189
Assuming that you have installed this plugin via the wordpress.org plugin repository and that your site is `https://example.org/`, you'll find `pym.v1.min.js` at `https://example.org/wp-content/plugins/pym-shortcode/js/pym.v1.min.js` .

0 commit comments

Comments
 (0)