Auto-start player with sound when opened web link

5 posts, 1 answers
  1. Olexandr
    Olexandr avatar
    7 posts
    Member since:
    Dec 2017

    Posted 03 Feb Link to this post

    Is have exist any solutions autoplay with sound while opening web link with video? Now if we try to play video with sound video will be stopped. If we open without sound video will play good. 
  2. Tsvetomir
    Admin
    Tsvetomir avatar
    696 posts

    Posted 05 Feb Link to this post

    Hi Olexandr,

    Based on the provided information, I am not sure under what circumstances is the issue present. Could you elaborate more on what is the connection between the web link and the MediaPlayer widget? 

    Also, could you examine the live demos and let me know in case I could replicate the defect there? Here is an example of a video that starts with the sound turned on:

    https://demos.telerik.com/kendo-ui/mediaplayer/index

    In case the issue persists, it would be very helpful if you could provide a sample that I could investigate locally.

     

    Regards,
    Tsvetomir
    Progress Telerik

    Get quickly onboarded and successful with your Telerik UI for ASP.NET MVC with the dedicated Virtual Classroom technical training, available to all active customers.
  3. Olexandr
    Olexandr avatar
    7 posts
    Member since:
    Dec 2017

    Posted 11 Feb Link to this post

    I tried to reproduce error at local and prepare demo project but I could not do it. Always sound and play immediately.  
    But if I try to open link using using work version I got error:  Uncaught (in promise) DOMException: play() failed because the user didn't interact with the document first.  Thanks

  4. Answer
    Tsvetomir
    Admin
    Tsvetomir avatar
    696 posts

    Posted 12 Feb Link to this post

    Hi Olexandr,

    Could you provide more information on what is the environment in which you are performing the tests? In case you are using Google Chrome with version newer than 66, you might have to change its settings. The same has already been discussed in the following StackOverflow article:

    https://stackoverflow.com/questions/49930680/how-to-handle-uncaught-in-promise-domexception-play-failed-because-the-use

    Also, could you open the MediaPlayer in a different browser and examine the console? 

     

    Regards,
    Tsvetomir
    Progress Telerik

    Get quickly onboarded and successful with your Telerik UI for ASP.NET MVC with the dedicated Virtual Classroom technical training, available to all active customers.
  5. Olexandr
    Olexandr avatar
    7 posts
    Member since:
    Dec 2017

    Posted 17 Feb in reply to Tsvetomir Link to this post

    Thanks!
Back to Top