Skip to content

Commit b8ca289

Browse files
authored
feat(docs): embed videos in docs (#564)
2 parents da0d29c + f8f869f commit b8ca289

File tree

2 files changed

+10
-0
lines changed

2 files changed

+10
-0
lines changed

docs/fdc/2-getting-started.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ keywords:
1717

1818
import Remix from "@site/src/components/remix";
1919
import CodeBlock from "@theme/CodeBlock";
20+
import YoutubeEmbed from "@site/src/components/youtube";
2021
import FDCTransferEventListener from "!!raw-loader!/examples/developer-hub-solidity/FDCTransferEventListener.sol";
2122
import PrepareRequest from "!!raw-loader!/examples/developer-hub-javascript/fdc_prepare_request.ts";
2223
import SubmitRequest from "!!raw-loader!/examples/developer-hub-javascript/fdc_submit_request.ts";
@@ -431,3 +432,7 @@ Here are the recommended approaches for different scenarios:
431432
```solidity
432433
isFinalized(uint256 _protocolId, uint256 _votingRoundId) returns (bool)
433434
```
435+
436+
## Watch the video
437+
438+
<YoutubeEmbed embedLink="bURtt4siWd0?si=tVnpU0SC7ISMnrA0"></YoutubeEmbed>

docs/ftso/1-getting-started.mdx

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ keywords:
1717

1818
import Remix from "@site/src/components/remix";
1919
import CodeBlock from "@theme/CodeBlock";
20+
import YoutubeEmbed from "@site/src/components/youtube";
2021
import FtsoV2FeedConsumer from "!!raw-loader!/examples/developer-hub-solidity/FtsoV2FeedConsumer.sol";
2122
import OpenSolidityCompiler from "/static/img/ftso-getting-started/0-open-solidity-compiler-tab.png";
2223
import SetEvmVersion from "/static/img/ftso-getting-started/1-set-evm-version.png";
@@ -172,3 +173,7 @@ The floating point value of a feed can be calculated by dividing the `feedValue`
172173
[Build your first FTSOv2 app](/ftso/guides/build-first-app) using Foundry, or [read feeds offchain](/ftso/guides/read-feeds-offchain) in languages like JavaScript, Python, Rust, and Go.
173174

174175
:::
176+
177+
## Watch the video
178+
179+
<YoutubeEmbed embedLink="Lgia7lbTSk0?si=rTkpw5Dh5E6X-DHz"></YoutubeEmbed>

0 commit comments

Comments
 (0)