Skip to content

Commit

Permalink
as requested by Marianne (#5783)
Browse files Browse the repository at this point in the history
adding Eric's CH video to docs!
  • Loading branch information
royendo authored Sep 26, 2024
1 parent bde82ca commit 3cc4f54
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 15 deletions.
13 changes: 10 additions & 3 deletions docs/docs/reference/olap-engines/clickhouse.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ description: Power Rill dashboards using ClickHouse
sidebar_label: ClickHouse
sidebar_position: 3
---
import LoomVideo from '@site/src/components/LoomVideo'; // Adjust the path as needed


<LoomVideo loomId='b96143c386104576bcfe6cabe1038c38' />


## Overview

Expand All @@ -20,9 +25,11 @@ Rill supports connecting to ClickHouse v22.7 or newer versions.

## ClickHouse Local vs ClickHouse Cloud

:::
UPDATE THIS
:::

import ComingSoon from '@site/src/components/ComingSoon';

<ComingSoon />


## Connection string (DSN)

Expand Down
27 changes: 15 additions & 12 deletions docs/src/components/LoomVideo.js
Original file line number Diff line number Diff line change
@@ -1,17 +1,20 @@
import React from 'react';

export default function LoomVideo({ loomId }) {
const url = `https://www.loom.com/embed/${loomId}`;

// No autoplay, video will start manually by user interaction
const url = `https://www.loom.com/embed/${loomId}?autoplay=0&mute=0&hide_owner=true&hide_share=true&hide_title=true`;

return (
<div style={{
position: 'relative',
paddingBottom: '56.25%', // 16:9 aspect ratio
height: 0,
overflow: 'hidden',
maxWidth: '100%',
background: '#000'
}}>
<div
style={{
position: 'relative',
paddingBottom: '56.25%', // 16:9 aspect ratio
height: 0,
overflow: 'hidden',
maxWidth: '100%',
background: '#000',
}}
>
<iframe
src={url}
style={{
Expand All @@ -22,9 +25,9 @@ export default function LoomVideo({ loomId }) {
height: '100%',
}}
frameBorder="0"
allow="autoplay; fullscreen; picture-in-picture"
allow="fullscreen; picture-in-picture"
allowFullScreen
></iframe>
</div>
);
}
}

0 comments on commit 3cc4f54

Please sign in to comment.