One drive embedded code has changed

Robyn Moller 15 Reputation points
2024-10-07T21:46:58.8666667+00:00

All my embed codes suddenly have stopped working - the code used to be http://onedrive.live.com/download?resid+xxxxx%xxxxx&authkey=xxxxxxx but now when i look at the same document https://1drv.ms/x/c/aa335c020f988faa/UQSqj5gPAlwzIICq9wMAAAAAAEPfW7tCWZDoMrw" width="402" height="346" frameborder="0" scrolling="no"></iframe>

OneDrive
OneDrive
A Microsoft file hosting and synchronization service.
1,219 questions
{count} votes

2 answers

Sort by: Most helpful
  1. Emi Zhang-MSFT 26,606 Reputation points Microsoft Vendor
    2024-10-08T07:52:10.2266667+00:00

    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.

    0 comments No comments

  2. iHouse 0 Reputation points
    2024-12-24T21:59:19.9833333+00:00

    An answer found, posted by raj kotecha on https://answers.microsoft.com/ who writes:

    “I encountered the same issue, but managed to work around it by opening the file directly, selecting "File", "Share," then "Embed," and generating the embed code. The problem with src="? seems to happen when you right-click on the file (without opening it) and choose "Embed." That method appears to generate the embed code without including the source. Therefore, you need to open the file first and then generate the embed code.”

    The above solution worked for me.

    Am curious to find out why OneDrive has made these changes, to Embed code, and whether Microsoft Embed is a stable enough technology service to build functionality on?

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.