Skip to main content

Notifications

Community site session details

Community site session details

Session Id :

Embed Stream Video in PowerApps Tutorial🍾👍

rorybi Profile Picture Posted by rorybi 69

PowerApps finally loves Microsoft Stream 😀
Microsoft Stream is coming to PowerApps in January 2020. This is an incredible development as we can now have organisation vid
eos safely held in Office 365 that can be for all sorts of purposes. In this video we see how to use the control, frankly it is awesome. We can set a start time, fit the video to the screen, SEARCH for words said during the video and hold the videos in a gallery. As a video maker this is really significant. During the video we use the table function and you can borrow the syntax here. Remember this is ONLY available in US Preview environments at this time. Sort(Table({VidURL:"https://web.microsoftstream.com/video/5e22a9b5-4142-4e80-ba33-ddf8bafcadf7",Item:1,StartTime:30}, {VidURL:"https://web.microsoftstream.com/video/4907a3c3-c07e-4ad8-8481-59c440b8caf6",Item:2,StartTime:50}, {VidURL:"https://web.microsoftstream.com/video/dfa9daf7-2482-4199-bf3d-cf1dc58c8368",Item:3, StartTime:70}, {VidURL:"https://web.microsoftstream.com/video/dfa9daf7-2482-4199-bf3d-cf1dc58c8368",Item:4, StartTime:120} ),Item,Ascending) Here is a link to the vid on building a Power BI Explorer - I fully intend to integrate Stream into this storytelling methodology https://community.powerbi.com/t5/Community-Blog/The-Ultimate-CDS-Power-BI-Explorer-Part-1-From-Zero-to-Hero/ba-p/868345

Categories:

General PowerApps

Comments

  • rorybi Profile Picture rorybi 69
    Posted at
    Embed Stream Video in PowerApps Tutorial????

    Hi Michal,

     

    Sorry for not getting back to you.  Yes, you're quite right this is the way to go.  I found that the only way of "resetting" the control is to pass in a blank into the streamurl and then pass in a valid url.

     

    This structure worked fine for me.
    Set(gvStream,{Video:""})
    ;
    Set(gvStream,{Video:"https://web.microsoftstream.com/video/dfaf3789-9caa-44f3-9cce-f567f845d5a6",TimeStart:gvStream.TimeStart+30})

  • Michal Z.  Profile Picture Michal Z. 147
    Posted at
    Embed Stream Video in PowerApps Tutorial????

    Found it - I have used a variable in the Video.StartTime and then by updating this variable got the result I needed. 

    Couldn't found this way anywhere. 

  • Michal Z.  Profile Picture Michal Z. 147
    Posted at
    Embed Stream Video in PowerApps Tutorial????

    Thank you @rorybi  for the great video. 

    Got a question related to video control, not Stream content, but I hope you can answer this - How to set the StartTime of the video?

    I cannot do this. When I create a button and trying to set "OnSelect" referring to the Video control, I can only set Start but not StartTime property. 

    Michal_0-1614454481286.png

     

    /Mike