Forum Discussion

gbryant11's avatar
gbryant11
Copper Contributor
Oct 26, 2023

Identify how to programmatically locate the transcript of each video

Happy Thursday,

 

I had a request from one of our content managers that I was not able to answer so I thought this would be the appropriate place to ask.

 

"help to identify how to programmatically locate the transcript of each video - right now he has reported that when he views a Stream on SharePoint [video] page, he is not able to see how he can automatically access the transcript - is there an API or other method available?"

 

By that he means he wants to be able to go into every video and get the transcripts from them without having to manually go through each one and download them.

 

Your help is greatly appreciated in answering this question.⁠

Thanks in advance.

ggb

8 Replies

  • We don’t have a MS Graph API for this only the private API used by the player itself.

    Would you be able to share more details on why you need to get transcripts programmatically via an API? What are you trying to do and why?


    Feature requests can be added and voted on here:
    Https://aka.ms/StreamIdeas
    • gbryant11's avatar
      gbryant11
      Copper Contributor
      Happy Friday Marc,

      Thank you as always for being a real resource on this endeavor/project and I appreciate you for it.

      We were trying to replicate back-end functionality.

      We have a database tool for managing digital assets.

      The team was able to use the tool to select videos and search by specific words in the transcript to start the video from.

      Using the tool, they were able to return the user the transcript and navigate using the transcript links.

      As I understand it this was an important search feature that was part of the digital asset management tool, and they are no longer able to do it.

      Is there some way to replicate this on the new platform?

      LMK

      Thanks in advance.
      Have a great weekend.
      Cheers!

      Ggb
      • Marc Mroz's avatar
        Marc Mroz
        Icon for Microsoft rankMicrosoft
        There are search APIs in MS Graph. And since the transcript of videos is in Microsoft Search index you can query via APIs and get videos returned across your tenant or from specific sites. So instead of searching on your digital asset database, search for videos via transcript in M365?

        Beyond that I can’t think of anything else unless you took a dependency on private APIs which could change / break without warning.

        We have it on our radar to expose more things like transcript via MS Graph, but I can’t promise anything at this time.

Resources