Skip to content

Commit 6fe55ce

Browse files
committed
feat(docs): embed videos in docs
1 parent da0d29c commit 6fe55ce

File tree

3 files changed

+15
-0
lines changed

3 files changed

+15
-0
lines changed

docs/1-intro.mdx

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

1717
import ThemedImage from "@theme/ThemedImage";
1818
import useBaseUrl from "@docusaurus/useBaseUrl";
19+
import YoutubeEmbed from "@site/src/components/youtube";
1920

2021
**Flare is the blockchain for data ☀️**, offering developers and users secure, decentralized access to high-integrity data from other chains and the internet. Flare's Layer-1 network uniquely supports enshrined data protocols at the network layer, making it the only EVM-compatible smart contract platform optimized for decentralized data acquisition, including price and time-series data, blockchain event and state data, and Web2 API data.
2122

@@ -53,3 +54,7 @@ Build a strong understanding of the core concepts that set Flare apart from othe
5354
- [Become an FTSO data provider](/run-node/ftso-data-provider) — Support DeFi applications on Flare with high-integrity, block-latency data feeds.
5455

5556
- [Run a Flare validator](/run-node/validator-node) — Secure Flare and earn rewards by running a validator node.
57+
58+
## Watch the video
59+
60+
<YoutubeEmbed embedLink="GwY_BhEpBG8?si=xFM195DqbtDmrL8o"></YoutubeEmbed>

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)