add id to iframe for easier embed styling
This commit is contained in:
parent
8641a3ee1c
commit
0e2b1b98b8
1 changed files with 1 additions and 1 deletions
|
@ -21,7 +21,7 @@ export default function EmbedTextArea(props: Props) {
|
||||||
const input = useRef();
|
const input = useRef();
|
||||||
|
|
||||||
const streamUrl = generateEmbedUrl(name, claimId, includeStartTime, startTime);
|
const streamUrl = generateEmbedUrl(name, claimId, includeStartTime, startTime);
|
||||||
let embedText = `<iframe width="560" height="315" src="${streamUrl}" allowfullscreen></iframe>`;
|
let embedText = `<iframe id="lbry-iframe" width="560" height="315" src="${streamUrl}" allowfullscreen></iframe>`;
|
||||||
|
|
||||||
function copyToClipboard() {
|
function copyToClipboard() {
|
||||||
const topRef = input.current;
|
const topRef = input.current;
|
||||||
|
|
Loading…
Add table
Reference in a new issue