I am working on a sharepoint online team site collection which have publishing features enabled. and our client want to be able to upload some videos and to render them inside modern site pages. Now i find these 2 main appraochies to handle Videos inside modern pages-
- to upload the videos inside our document library, then to use the Document Library(Preview) modern web part, to render the videos:-
- second approach is to upload the videos inside our asset library, then to use the Embed modern web part, and to define the asset library's thumbnail view url inside the Embed web part setting,, as follow:-
now on both cases the videos will be rendered inside the modern pages, but not sure what will be the differences? and which appraoch is the recommended one to upload videos? now based on my test, i found that if we click on the Video inside the Doc lib modern web part, then the video will be played automatically (which we are looking for), while if we click on the video inside the embed modern web part, we will get this page and the video will not start automatically:-
Now based on my previous experience from on-premises SP, that Asset libraries are the normal place to upload videos (espically when we enable publishing features), but based on my above test, seems document libraries will render the videos in a more accurate way, where if users click on the Video it will start playing automatically, unlike the embed + asset library appraoch. so can anyone adivce on this please?