Hi,
Where did you embed code?
Try to open the 1drv.ms URL in the bowser inprivate window, and then check if the URL will correct onedrive.live.
If the URL cannot open, the link is broken and cannot change back.
Just checking in to see if the information was helpful. Please let us know if you would like further assistance.
If the response is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.