Skip to content

Commit a738250

Browse files
committed
Tantacrul video
1 parent 06e4d6a commit a738250

File tree

2 files changed

+7
-23
lines changed

2 files changed

+7
-23
lines changed

src/components/homepage/ReleaseVideo.astro

Lines changed: 5 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,13 @@
11
---
22
import { getImage } from "astro:assets";
3-
import ReleaseVideoPlaceholder from "../../assets/img/audacity-placeholder.webp";
4-
import PromoVideoPlaceholder from "../../assets/img/promo/playgrnd-fx-placeholder.webp";
53
import FeaturedVideo from "../video/FeaturedVideo";
64
7-
const releaseVideoPlaceholderImage = await getImage({
8-
src: ReleaseVideoPlaceholder,
9-
format: 'webp',
10-
width: 448,
11-
quality: 80,
12-
});
13-
14-
const featuredVideoPlaceholderImage = await getImage({
15-
src: PromoVideoPlaceholder,
16-
format: 'webp',
17-
width: 448,
18-
quality: 80,
19-
});
20-
215
const releaseVideo = {
22-
title:"Our latest release",
23-
label:"Master channel, new realtime effects & more!",
24-
placeholderImage: releaseVideoPlaceholderImage.src,
25-
imageAltText: "Video thumbnail: Audacity 3.6 - New effects",
26-
videoURL:"https://www.youtube-nocookie.com/embed/f5TXPUOFH6A?autoplay=1",
6+
title:"How we're building Audacity 4",
7+
label:"A sneak peek at our development process and new features.",
8+
placeholderImage: "https://i.ytimg.com/vi/QYM3TWf_G38/maxresdefault.jpg",
9+
imageAltText: "Video thumbnail: How we're building Audacity 4",
10+
videoURL:"https://www.youtube-nocookie.com/embed/QYM3TWf_G38?autoplay=1",
2711
}
2812
2913
const promoVideo = {

src/pages/au4.astro

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,9 @@ const { win, mac, lin } = betaReleases;
100100
</div>
101101
<FeaturedVideo
102102
client:load
103-
placeholderImage="https://i.ytimg.com/vi/qEAZv_o0HuQ/maxresdefault.jpg"
103+
placeholderImage="https://i.ytimg.com/vi/QYM3TWf_G38/maxresdefault.jpg"
104104
imageAltText="Video: How we made Audacity 4"
105-
videoURL="https://www.youtube-nocookie.com/embed/qEAZv_o0HuQ?autoplay=1"
105+
videoURL="https://www.youtube-nocookie.com/embed/QYM3TWf_G38?autoplay=1"
106106
title="Video: How we made Audacity 4"
107107
label="Watch a behind-the-scenes video on the making of Audacity 4"
108108
class="mt-8"

0 commit comments

Comments
 (0)