Forum Discussion
phil444
Jan 07, 2021Copper Contributor
How to control the embedded Streams player
I'm looking to use the Streams platform in a few custom events, with the player embedded into our enterprise portal. I need to be able to do just basic things like load and unload the player, start ...
phil444
Jan 08, 2021Copper Contributor
descapa_msft When you see it is stopped or paused to do you want to put an overlay?
I need to know if it is stopped or playing, so that I can update my live usage statistics database in real-time. Going the other way, when I have a scheduled event, for example, my player would show a clock and message before the event starts, then our TV operations center can send a command to start the event when the speaker is ready. So in the page, the Streams player needs to "start" when I fire the event at it. Also, maybe the event will end early, or late. Again, I need to be able to command the remote players to stop and unload if our producer ends the event.
This is simple stuff on your end to implement.
Maybe something like a function that receives "start", "stop".
And a listener that responds with "idle", "playing", "buffering", "error".
PeterNeg
Jan 11, 2021Copper Contributor
Has there been any reply to this? We need to do something similar.
- Peng_Li76Jan 18, 2023Copper Contributor
2 Years later, is there any update for embed Stream controls same as Youtube embed API?
- Marc MrozJan 25, 2023
Microsoft
Peng_Li76 - Player APIs like how YouTube supports on their iFrame and via SDK aren't available for Stream. We do have the ground work laid for such support but haven't done the work to make it available as a public API.
It looks like someone added this idea which is for the same concept here in our ideas voting forum. Can people who want this add your votes and comments with more details on what APIs you want and what you'd do with them if we added this feature...
Vote and comment here:
Control playback and obtain status of embed video ยท Community (microsoft.com)