In our SharePoint Online tenant, i would like to dynamically play (in a modern script editor webpart) the latest video uploaded to one of the asset libraries.

I was able to find ways to play a static video by providing the URL but not sure how to achieve the same for any latest video uploaded dynamically.

Any suggestions or guidance is much appreciated to achieve this.

I would like to play the video using a modern script editor webpart, but any other available options also i can consider.

1 Answer 1


For Classic pages, was able to achieve this using "Content Query Webpart" but for modern pages, could not find any solution.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.