usu-accessibility / Pilot-Feedback

Feedback for Pilot.io
0 stars 0 forks source link

Ability to Not Embed a YouTube Video #12

Open cphillipsusu opened 2 months ago

cphillipsusu commented 2 months ago

Generally when we add a link to a YouTube video, we want it to be embedded in our documentation system. However, sometimes there are links to videos that are more references where we want the link to be just a link - not an embed. As an example, a different vendor allowed us to do that by adding ! to the beginning of the link to indicate - “don’t embed”.

sririe commented 2 months ago

@cphillipsusu We will investigate a solution for this, ideally without having to use a workaround method to achieve the result you are after.

sririe commented 2 months ago

Hi @cphillipsusu. We have implemented a solution to address your ask for managing YouTube embeds. Our goal was to identify a means of doing so without requiring workarounds (ie. a special character before a link).

Proposed solution: Any YouTube link that is included as part of a paragraph (either as linked text, or a full unfurled URL) won't embed the corresponding video within the document in Pilot.

YouTube links that are added on their own as a new paragraph, will trigger the embed functionality.

Attached is a screenshot of this in our staging environment. Does this approach work for you? We can deploy this to production in our next update.

Image

cphillipsusu commented 2 months ago

Thanks @sririe - that looks like a great solution, thank you so much!