Conflux-Chain / conflux-documentation

Documentation for Conflux Network. Alternative mirror https://confluxdocs.com
https://doc.confluxnetwork.org/
23 stars 23 forks source link

Embed videos to pages #274

Closed darwintree closed 2 months ago

darwintree commented 7 months ago

Describe the feature or improvement 描述新特性或改进 Currently, there are some videos made for the documentation portal. We could embed videos in the pages.

Optional: Implementation ideas 可选:如何实现 We could use docusarus tab feature and stream media iframe link to complete the feature.

<Tabs>
  <TabItem value="youtube" label="Video source: youtube">
    <!-- insert youtube iframe link here -->
  </TabItem>
  <TabItem value="bilibili" label="Video source: bilibili">
    <!-- insert bilibili iframe link here -->
  </TabItem>
</Tabs>

The iframe link could be found in share -> embed for both youtube and bilibii. BTW, it should be noted that the bilibili video will be autoplayed for the default copied link. You should add &autoplay=0 after the url.

Example outcome:

image
darwintree commented 7 months ago

An independent page for video? Or sidebar

0xn1c0 commented 7 months ago

Added Nodes Video Tutorial at docs/general/run-a-node/

https://github.com/Conflux-Chain/conflux-documentation/pull/308

0xn1c0 commented 5 months ago

Added videos to existing pages on this PR: https://github.com/Conflux-Chain/conflux-documentation/pull/362

The creation of new pages is still pending. Next step is creating new pages in which to add the videos are weren't embedded yet.

0xn1c0 commented 5 months ago

Another video was added on this PR: https://github.com/Conflux-Chain/conflux-documentation/pull/392

0xn1c0 commented 5 months ago

More videos added on this PR: https://github.com/Conflux-Chain/conflux-documentation/pull/404