I am using Start time property to keep video thumbnail.. it is working in all browsers but in safari browser those properties are not working like auto Play, Start Time properties can any one has solution for this please suggest.
Thanks,
Yogesh Kumar
5 Answers, 1 is accepted
Hi Yogesh,
Thank you for reporting this issue!
I researched it and found out that it is a browser behavior because the same markup provided by Google YouTube works in IE/Edge, but not Chrome:
<iframe width="560" height="315" src="https://www.youtube.com/embed/J18zDKtiBFE" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
RadMediaPlayed generates the same HTML to play the video (it is a standard) and since the latest Chrome does not play it it is a browser behavior that may change in the future as it was working in the earlier versions of the browser.
I searched a little bit more in Google and found that it is actually a Chrome Policy which prevents the autplay videos to play:
I hope this helps.
Regards,
Rumen
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).
Thank you Rumen..I'll check this and will let you know
Thanks
Yogesh Kumar
Please take your time, Yogesh! If you have any other questions please let me know.
Regards,
Rumen
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).
Hai Rumen,
RadMediaPlayer property StartTime property not working in safari browser other than I don't have any issues in chrome browser.. please help me on this issue..is there any other way to handle this?
Thanks
Yogesh Kumar
Hi Yogesh,
I performed a test with a regular video tag with autoplay and noticed that the latest Safari browser on MAC does not automatically starts the video - https://www.w3schools.com/tags/tryit.asp?filename=tryhtml5_video_autoplay.
Can you please test it and let me know whether the video plays automatically in your Safari? It looks like a Safari issue.
RadMediaPlayer is rendering the videos in a regular video tag like this one
<video id="RadMediaPlayer1_video" autoplay style="width: 100%; height: 100%;"><source src="../images/file_example_MP4_480_1_5MG.mp4"></video>
and if Safari does not respect the autoplay attribute this is the reason for the issue including the StartTime one.
Regards,
Rumen
Progress Telerik
Five days of Blazor, Angular, React, and Xamarin experts live-coding on twitch.tv/CodeItLive , special prizes and more, for FREE?! Register now for DevReach 2.0(20).