Skip to content

Commit 646008a

Browse files
authored
fix(src): optimize video loading (#1092)
2 parents fe457e9 + 7240e79 commit 646008a

File tree

17 files changed

+155
-31
lines changed

17 files changed

+155
-31
lines changed

.github/workflows/lint-check-internal-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
- name: Install dependencies
2222
run: npm ci
2323
- name: Run ESLint
24-
run: npm run lint
24+
run: npm run lint -- --max-warnings=0
2525

2626
typecheck:
2727
name: TypeScript Check

docs/fassets/developer-guides/10-fassets-redemption-default.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ It does the following:
109109

110110
## Video Tutorial
111111

112-
<YouTubeEmbed videoId="a737yFcglnM?si=bHoFxhrlWhMCxEQr&start=275"></YouTubeEmbed>
112+
<YouTubeEmbed videoId="a737yFcglnM" startSeconds={275}></YouTubeEmbed>
113113

114114
## Summary
115115

docs/fassets/developer-guides/5-fassets-mint.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ This script demonstrates how to retrieve the FDC proof and execute minting.
129129

130130
## Video Tutorial
131131

132-
<YouTubeEmbed videoId="a737yFcglnM?si=5L0owLyQREvO09d8"></YouTubeEmbed>
132+
<YouTubeEmbed videoId="a737yFcglnM"></YouTubeEmbed>
133133

134134
## Summary
135135

docs/fassets/developer-guides/6-fassets-mint-executor.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ This script demonstrates how to retrieve the FDC proof and execute minting.
143143

144144
## Video Tutorial
145145

146-
<YouTubeEmbed videoId="a737yFcglnM?si=5L0owLyQREvO09d8"></YouTubeEmbed>
146+
<YouTubeEmbed videoId="a737yFcglnM"></YouTubeEmbed>
147147

148148
## Summary
149149

docs/fassets/developer-guides/7-fassets-redeem.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ If the agent is unable to pay the redemption payment in the specified time, the
345345

346346
## Video Tutorial
347347

348-
<YouTubeEmbed videoId="a737yFcglnM?si=bHoFxhrlWhMCxEQr&start=275"></YouTubeEmbed>
348+
<YouTubeEmbed videoId="a737yFcglnM" startSeconds={275}></YouTubeEmbed>
349349

350350
## Summary
351351

docs/fdc/1-overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,4 +128,4 @@ The **Flare Data Connector (FDC)** is a critical infrastructure component for th
128128

129129
## Watch the video
130130

131-
<YouTubeEmbed videoId="4mAT1v8gZMQ?si=w6z6Gw6siCTX3Ntg"></YouTubeEmbed>
131+
<YouTubeEmbed videoId="4mAT1v8gZMQ"></YouTubeEmbed>

docs/fdc/2-getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -431,4 +431,4 @@ isFinalized(uint256 _protocolId, uint256 _votingRoundId) returns (bool)
431431

432432
## Watch the video
433433

434-
<YouTubeEmbed videoId="bURtt4siWd0?si=tVnpU0SC7ISMnrA0"></YouTubeEmbed>
434+
<YouTubeEmbed videoId="bURtt4siWd0"></YouTubeEmbed>

docs/ftso/0-overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,4 +146,4 @@ Data providers are rewarded when the block-latency feeds remains within `±0.25%
146146

147147
## Watch the video
148148

149-
<YouTubeEmbed videoId="4mAT1v8gZMQ?si=w6z6Gw6siCTX3Ntg"></YouTubeEmbed>
149+
<YouTubeEmbed videoId="4mAT1v8gZMQ"></YouTubeEmbed>

docs/ftso/1-getting-started.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,4 +176,4 @@ The floating point value of a feed can be calculated by dividing the `feedValue`
176176

177177
## Watch the video
178178

179-
<YouTubeEmbed videoId="Lgia7lbTSk0?si=-7xaJ9dth0F6N-7F"></YouTubeEmbed>
179+
<YouTubeEmbed videoId="Lgia7lbTSk0"></YouTubeEmbed>

docs/ftso/scaling/1-overview.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,4 @@ As a result, Scaling maintains robust participation across both common and niche
153153

154154
## Watch the video
155155

156-
<YouTubeEmbed videoId="4mAT1v8gZMQ?si=w6z6Gw6siCTX3Ntg"></YouTubeEmbed>
156+
<YouTubeEmbed videoId="4mAT1v8gZMQ"></YouTubeEmbed>

0 commit comments

Comments
 (0)