dfe-analytical-services / analysts-guide

A static website to hold guidance, helpful links and code examples for analysts working in DfE.
https://dfe-analytical-services.github.io/analysts-guide/
MIT License
5 stars 3 forks source link

Find a solution for video storage #92

Open jen-machin opened 2 months ago

jen-machin commented 2 months ago

Is your feature request related to a problem? Please describe. Currently videos are stored somewhere on Sharepoint but the links are going to expire and break from February onwards. We need to find a better way to host video for the site so that it can be embedded properly. Following migration, the old method no longer works.

Describe the solution you'd like

jen-machin commented 2 months ago

Analysts Guide: Watch screenreader using spreadsheets video and promote / embed into guidance

cjrace commented 1 day ago

This was bugging me so I forked the site and did a version showing how we might be able to do this - https://cjrace.github.io/analysts-guide/.

Code is on the main branch of the fork showing the ways to embed - https://github.com/cjrace/analysts-guide/blob/e8dc8dfe48aa378d7802c9d0c0b8fc1365d38aa8/index.qmd#L20-L40

I think we have 2 kinds of videos - private and public

  1. Private videos that are DfE only, it looks like we can embed from sharepoint, just not directly from the file link. Save it in a folder as an mp4 (as we do now), then if you open that mp4 up, it appears in stream and you get a share option that gives you code to embed as an iframe, that seems to work fine in my example.
  1. For any public / open videos we should probably just use the stats dev mailbox to stick them on YouTube as unlisted videos so everyone can access (like the data screener one I have used as an example, which I did a few years ago)
cjrace commented 1 day ago

Tested to be doubly sure on my personal laptop too and this is what internal videos look like using iframes - which I'd say is pretty much ideal?

image

cjrace commented 1 day ago

Look at video embedding options for quarto