Project

General

Profile

Support #13946

Custom Embed handler For OneDrive files

Added by scott voth 12 months ago. Updated 2 months ago.

Status:
Assigned
Priority name:
Normal
Assignee:
Category name:
WordPress Plugins
Target version:
Start date:
2021-02-05
Due date:
% Done:

0%

Estimated time:

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>

History

#1 Updated by Boone Gorges 12 months ago

  • 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?

#3 Updated by Raymond Hoh 12 months ago

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.

#4 Updated by Boone Gorges 11 months ago

  • Assignee changed from Boone Gorges to Raymond Hoh
  • Target version set to 1.19.0

Cool, let's not duplicate effort :-D

#5 Updated by Boone Gorges 2 months ago

  • Status changed from Reporter Feedback to Assigned
  • Target version changed from 1.19.0 to 1.20.0

Also available in: Atom PDF