add id to iframe for easier embed styling

This commit is contained in:
Sean Yesmunt 2020-07-15 23:32:51 -04:00
parent 8641a3ee1c
commit 0e2b1b98b8

View file

@ -21,7 +21,7 @@ export default function EmbedTextArea(props: Props) {
const input = useRef();
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() {
const topRef = input.current;