Upload

Fixing video embedding on EraCast

43 views

Loading...

Loading...

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on May 20, 2026

console.log("Forcing embedding...")
let ID = window.location.search
let REPLID = ID.replace(/\?v=|&spfreload=10/g, "")
let ORIGIN = window.location.origin
var structure = ORIGIN + "/embed/" + REPLID
let wspan = document.getElementsByClassName("share-panel-embed-container")[0]
if (wspan) {
wspan.innerText = structure;
}
else {
console.log("Cannot force embed this video, Did you try to check the commands in the script?");
}

  • Category

  • License

    • Standard EraCast License

Comments

Advertisement
to add this to Watch Later

Add to

Loading playlists...