Skip to content

Commit eb969b2

Browse files
committed
Properly discover video resources
Fixes #5496, #5847, #5268
1 parent 2df8e13 commit eb969b2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

news/changelog-1.4.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,10 @@
5757
- ([#5625](https://github.com/quarto-dev/quarto-cli/issues/5625)): Prefer the website image (if specified) over undecorated images that appear in the page.
5858
- ([#5932](https://github.com/quarto-dev/quarto-cli/issues/5932)): Correct Open Graph metadata key name for `og:site_name`
5959

60+
## Video (and Audio)
61+
62+
- ([#5496](https://github.com/quarto-dev/quarto-cli/issues/5496), [#5847](https://github.com/quarto-dev/quarto-cli/issues/5847), [#5268](https://github.com/quarto-dev/quarto-cli/issues/5268)): Properly display local audio and video files with website projects (properly discover the `src` as a resource)
63+
6064
## Preview
6165

6266
- Display render output/progress for previews that take longer than 2 seconds

src/core/html.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,7 @@ export const kHtmlResourceTags: Record<string, string[]> = {
9494
"embed": ["src"],
9595
"iframe": ["src"],
9696
"section": ["data-background-image", "data-background-video"],
97+
"source": ["src"],
9798
};
9899

99100
export function discoverResourceRefs(

0 commit comments

Comments
 (0)