Support #13946
open
Custom Embed handler For OneDrive files
Added by scott voth almost 4 years ago.
Updated 6 months ago.
Category name:
WordPress Plugins
Description
Now that OneDrive is being used at CUNY, can we develop a way to handle embeds? Here is an example of the embed code that OneDrive suggests, using iframe:
<iframe src=”https://urldefense.proofpoint.com/v2/url?u=https-3A__cuny907-2Dmy.sharepoint.com_personal_vanbich-5Ftran74-5Flogin-5Fcuny-5Fedu_-5Flayouts_15_Doc.aspx-3Fsourcedoc-3D-257B980914bd-2D4076-2D4c91-2Dafba-2D9ebce95f14ec-257D-26amp-3Baction-3Dembedview-26amp-3BwdAr-3D1.7777777777777777&d=DwIFAw&c=2tStSn3Yyb7CMXxZW9nuG-Sh-vz6mhnySBmFi7HdCsM&r=S-XAbz96Ftx1w54qbjGC-9X8Y9sp29fMCNAnJqAwcdhTMKxITkW6cVsRjSmfprTn9-PIl3BWbBpd9mBdiuIbfA&m=z452bsGqiTFRV7dBWW6d31QAVhbamKito7p_pDrdy1M&s=YxQ5T1jrZNkaT_onebYQ-V-sVckVqH_0_1hGwZY0mwI&e= ” width=”350px” height=”221px” frameborder=”0″>This is an embedded Microsoft Office presentation, powered by Office.</iframe>
- Status changed from New to Reporter Feedback
We should be able to do something, but there's something funky about the sample code you've shared: src attribute is wrapped by ProofPoint.
To make this work, I need to be able to determine how the regular URL (or some other unique identifier that's easy to get from the page) of a OneDrive item is related to the iframe code. Unfortunately, the sample URL here appears to be non-public. Scott, do you have an example of a CUNY OneDrive presentation that's publicly available, so that I can do some comparisons?
Coincidentally, I'm working on an embed plugin for OneDrive for another organization. I'll share it with the Commons once it's available and ready for testing.
- Assignee changed from Boone Gorges to Raymond Hoh
- Target version set to 1.19.0
Cool, let's not duplicate effort :-D
- Status changed from Reporter Feedback to Assigned
- Target version changed from 1.19.0 to 2.0.0
- Target version changed from 2.0.0 to 2.1.0
- Target version changed from 2.1.0 to 2.2.0
- Target version changed from 2.2.0 to 2.3.0
- Target version changed from 2.3.0 to 2.4.0
- Target version changed from 2.4.0 to 2.5.0
Also available in: Atom
PDF