在其他应用程序中嵌入 Microsoft Stream 视频Embed Microsoft Stream videos in other apps

如果要将流视频放在应用程序或内部网站中,则可以嵌入视频。If you want to put a Stream video in an app or internal website, you can embed the video.

  1. 在 "" 中Share 从 "视频" 页面中选择共享图标共享图标, 或通过 "搜索" 或 "浏览" 查找视频。In Stream, select the Share icon Share icon from either the video page or when finding videos through search or browse.

  2. 选择 " 嵌入 " 选项卡,然后选择所需的选项。Select the Embed tab and choose your desired options.

    • 视频大小:控制视频的 iframe 的大小。Video size: Controls the size of the iframe for the video.
    • 自动播放:确定视频是自动播放,还是在用户必须单击 " 播放 " 才能启动。Autoplay: Determines whether the video will play automatically or if the user must click Play to start it.
    • 响应能力:确定用户是否可以在调整视频播放器的浏览器窗口大小时控制其大小。Responsive: Determines whether the user can control the size of the video player when resizing their browser window.
    • 开始时间:提供视频应开始的时间代码 HH: MM: SS。Start at: Provide a time code HH:MM:SS that the video should start at.
      • 默认情况下,将根据您选择 共享 图标共享图标时预填充时间  By default, the time will pre-populate based on when you select the Share icon Share icon. 您可以播放视频或寻求查找所需的点,然后选择 共享 图标  共享图标 You can play the video or seek to find the desired point and then select the Share icon Share icon.
      • 或者,也可以通过在框中键入来设置时间。Alternatively, you can set the time by typing in the box.
  3. 复制嵌入代码。Copy the embed code.

嵌入

对视频的权限Permissions on your video

只有经授权可查看流内容的人员才能查看它,即使它嵌入在其他网站上也是如此。Only people authorized to see Stream content will be able to view it, even if it's embedded on another site.

  • 流尝试 sto 自动确定用户的凭据(如果可能),但是,如果用户未知,系统会提示他们登录。Stream attempt sto automatically determine the user's credentials if possible, however if the user is unknown, they will be prompted to sign in.
  • 当用户知道时,还会保留权限设置,以确保只有授权用户才能观看、维护安全性和权限。When the user is known, the permission settings are also maintained to ensure only authorized users can watch, maintaining security and permissions.

嵌入

另请参阅See also

流如何与各种产品配合使用How Stream works with various products.