Unable to stop video autoplay when using "Stream on SharePoint" embed code on classic page

vrm 711 Reputation points
2023-05-05T14:30:27.4966667+00:00

I am unable to stop video autoplay when using "Stream on SharePoint" embed code on classic SharePoint page. I selected Autoplay=Off. When I embed the code, the video starts playing immediately. Thanks.

embedCode-autoplay

Microsoft 365 and Office | SharePoint | For business | Windows
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 40,476 Reputation points Microsoft External Staff
    2023-05-08T02:26:05.5333333+00:00

    Hi @vrm ,

    It seems that the emed doesn't generate correct iframe. Please try to add autoplay=false& between /_layouts/15/embed.aspx? and UniqueId=XXXXXX. The embed should be like following

    /_layouts/15/embed.aspx?autoplay=false&UniqueId=XXXXXX
    
    

    Here is my test result

    User's image


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    3 people found this answer helpful.

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.