TransWikia.com

Online - Redirect user when closing file (video) opened in browser

SharePoint Asked by Pepozzo on January 22, 2021

I’m using SharePoint Online and I’ve added Modern Search (https://microsoft-search.github.io/pnp-modern-search/) to my home page.

This webpart shows results from a specific library which is an Asset library containing some videos.

This is working fine and clicking on results the video opens in a new tab with the video in fullscreen and the modern UI toolbar on top.
This is an example URL I’m using to open the video with the modern UI: https://mytenant.sharepoint.com/sites/MediaRepo/Video/myvideo/myvideo.mp4?Web=1

This URL is immediately converted to:

https://mytenant.sharepoint.com/sites/MediaRepo/Video/Forms/Thumbnails.aspx?id=%2Fsites%2FMediaRepo%2FVideo%2Fmyvideo%27%20myvideo%2Emp4&parent=%2Fsites%2FMediaRepo%2FVideo%2Fmyvideo

In both cases I’ve tried to add Source parameter to the querystring with the URL of my homepage, but the parameter is completely ignored closing the video.

Is it possible to redirect the user to a specific URL when it closes the video? Or is there another way to open videos?

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP