Skip to content

Commit d9afbfa

Browse files
authored
Merge pull request #63 from shotstack/docs/studio-previews-ingested-files
[1/2] Correct the html5 guide on Studio previewing ingested files
2 parents 8af9696 + f667157 commit d9afbfa

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

‎skills/shotstack/references/html5.md‎

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,7 @@ The iframe renders under a strict Content-Security-Policy (`default-src 'none'`)
100100

101101
### Images and fonts you ingested
102102

103-
Reference an ingested image or font by its `source` URL, straight from `html` or `css`: an `<img src>`, a CSS `url()` or an `@font-face` `src`. Before capture the renderer fetches each file and inlines it, so the page itself still makes no request.
103+
Reference an ingested image or font by its `source` URL, straight from `html` or `css`: an `<img src>`, a CSS `url()` or an `@font-face` `src`. Before capture the renderer fetches each file and inlines it, so the page itself still makes no request. Studio's preview does the same.
104104

105105
<!-- surface:cli -->
106106
Upload with `shotstack ingest upload`, or host a copy of a URL with `shotstack ingest fetch`:
@@ -123,10 +123,6 @@ FONT=$(shotstack ingest upload ./Brand.woff2 --watch --output json | tail -n1 |
123123
- `shotstack ingest upload --watch` and `ingest fetch --watch` request those renditions for an image and wait up to 60 s for them, so the `source` URL is all the page needs.
124124
<!-- /surface -->
125125
- **A file that can't be used fails the render**, for example one that's missing, too large, or not an image or font.
126-
- **Studio's preview doesn't load ingested files yet**, so they show as missing there. The render is unaffected.
127-
<!-- surface:cli -->
128-
- Until Studio supports them, check the page with `shotstack render <file> --env stage --watch`.
129-
<!-- /surface -->
130126

131127
### Fonts in HTML5
132128

0 commit comments

Comments
 (0)