embed
15 TopicsOneDrive Direct Download Link
Hi all, My Problem and Question This question pertains to OneDrive for personal use. Microsoft recently made a change to the link format from the embed feature and made my direct download links obsolete. I would retrieve these links from the embed feature in OneDrive and the links looked like what's shown below. The link would directly serve the file to whomever accessed it without them ever having to interact with OneDrive. With the changes Microsoft recently made to OneDrive, is there a new way of getting links that have this functionality? Old link format (no longer works): https://onedrive.live.com/download?resid=XXXXXXXXXXX&authkey=XXXXXXXXXXX My Own Digging I've scoured several forums unable to find any solutions. I have found a temporary solution; however, the links generated via this method only have temporary authentication, so they expire after a day. Perhaps it could be a real solution if I could figure out how to get a permanent auth token for a personal OneDrive file. I'm retrieving the link from the GET request when clicking the download button on a file from a publicly shared link. Link format: https://my.microsoftpersonalcontent.com/personal/{resid}/_layouts/15/download.aspx?UniqueId=XXXXXXXXXXXXX&Translate=false&tempauth=XXXXXXXXXXXXXXXX&ApiVersion=2.0 Thank you to anyone that has input!10KViews1like6CommentsAudio file embeds not working
I have a site and a few audio files in my OneDrive account that I want to embed in said site using the HTML `<audio>` tag. I'm following https://stackoverflow.com/a/65415373's instructions and it works fine in my personal OneDrive account, which generates embed codes in the following format: <iframe src="https://onedrive.live.com/embed?resid=XXXXXXXX&authkey=YYYYYYYYYY" width="98" height="120" frameborder="0" scrolling="no"></iframe> (note the URL domain: https://onedrive.live.com) However, in my client's OneDrive account, embeds are generated using a shortened URL domain, like this: <iframe src="https://1drv.ms/u/s!XXXXXXXXXXXXXXX?embed=1" width="98" height="120" frameborder="0" scrolling="no"></iframe> Naturally, this URL format breaks embedding audio and I don't know how to circumvent this. I tried changing "embed=1" with "download=1" but it didn't work out. How can I make these "shortened" URLs work with the audio tag? Perhaps there's a way to disable URL shortening for embeds?? Thanks in advance563Views0likes0CommentsI wanted to create an embed link for onedrive files in work account.
I referred the link. https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/driveitem_createlink?view=odsp-graph-online. But could not create a embed link programmatically. (Since it is a work account) Is there any other way to create an embed link through an programmatically?730Views0likes1CommentEmbed LinkedIn Content in SharePoint
LinkedIn has removed the Embed option so we can't grab code from posts that we want to highlight on our intranet home page (which is a (SharePoint Online Comm site). Any ideas on a workaround or another web part we could use? Does Microsoft have plans for a LinkedIn web part like they do for YouTube or Twitter?2KViews3likes1CommentEmbed Powerpoint Requires Login to Sharepoint Now?
I am trying to embed a PowerPoint. I get the embed code and put into my website. I can get to it fine, but others can not - it is asking them to sign in to Sharepoint? I can send a 'share' link and set up the permissions to allow anyone to view and/or edit, and the share link works fine, but in the embed screen, no such permissions are shown. So the share link can be viewed and/or edited by anyone as long as I set up the permissions to allow that, but the embed code always requires a sign-in to Sharepoint? Given this, I've tried replacing the link in the embed code with the share link that actually works, but that does not work - its disallowed to be delivered in an iFrame by Microsoft, and requires it to be viewed in its own top-level window. I opened a support ticket with Microsoft, spoke with a live rep, shared my screen, and after she herself was confused, she consulted with the tech team and called me back an hour later, and it was determined that this is 'just the way it works now for embeds' - meaning unlike the rest of the Internet, Microsoft's embeds can not work unless someone has Sharepoint, although the non-embedded share link works just fine? After all, the Share > Embed option has a subtitle that says "Embed this presentation into your blog or website". It just doesn't seem like this is or should be the intended functionality. I want the embed code to be viewable by anyone and everyone without requiring them to have an account or sign in. Does anyone know how to get this to function properly so anyone can view the Powerpoint embed without needing to sign in to Sharepoint? Thanks.986Views0likes0CommentsNeed a 'Click to Call' button that doesn't force https://
This should be such a simple task, but there are Obsticles. Trying to add a "Click to Call" button in SharePoint. You would think that adding tel:0123456789 to the link field in a button Web Part would do the trick, but it doesn't. Our SPO site is forcing https:// at the beginning of the code and this takes us to a blocked page instead of making the phone call. Have also tried various types of html in the Embed Code Web Part, such as: <a href="tel:0123456789">Click to Call</a>with the same response. I've tried putting it in an iFrame too, still no joy. Does anyone know the solution please?814Views0likes0CommentsSharepoint 365 and Visio diagrams
Hello Community, I would like to store process descriptions in a Sharepoint 365 site. For this purpose I have built diagrams in Visio. Now I have 2 challenges for which I can not find solutions: 1) how can I ensure in Sharepoint that the link in the diagrams are opened in the same window? Currently, new tabs are always opened. 2) The charts always show scrollbars, borders around the overall chart, borders around the widget and zooms which are rather annoying at the point. How could you make sure that with the File content widget these things are not displayed or is there another way that you don't get this displayed? I've been looking for a solution to this problem for quite a long time now, but never got a satisfying result so far Thanks for the help Greetings Carlos839Views0likes0CommentsEmbedding PowerPoint without sign in requirement
I am attempting to embed some PowerPoints into a webpage using the Embed feature from Office.com. I've created a Share link, Anyone with the Link can view. When I use the embed code on the webpage, every time it loads for another user it shows a login.micrsoftonline.com refused to connect error, I understand this is because login screens have been blocked in iframes. The issue is, I don't want the users to have to login, I want them to view the PowerPoint without needing a Microsoft account login. I have followed the instructions from this thread about pasting the share link into the embed code to get around this but now run into an issue with the iframe displaying a This link has been removed error instead. Any help would be greatly appreciated. Scott2.6KViews0likes0CommentsEmbed interactive Bokeh HTML Plot
Hei I try to embed a https://docs.bokeh.org/en/latest/index.html# plot in a sharepoint site. I've saved the plot as HTML file locally. I think embedding HTML was somehow possible in previous sharepoint versions. Does anybody know how to do it in sharepoint online nowadays? Thanks for the help. Best regards1.2KViews0likes0CommentsStable URI for OneDrive Excel Embedding
I have a website with an embedded iframe of an Excel spreadsheet through OneDrive's "Embed" option. The problem is that every time I update the file the URI changes (specifically the authkey and resid parameters) and it breaks the embed. Is there anyway to pin those variables to the file so that I can update it and not break the embed?814Views1like0Comments