Reputation: 11
Pause/play control of HTML5 video does not working as expected in safari browser. It is working fine in other browsers. Please help me on this.
After clicking the pause mode icon, video is still playing. When I click a mute icon, video is stopped/playing vice versa. Attached image for reference.
Video controls Image as reference
<video controls id="video-gpro">
<source src="@Model.Manualvideo" type="video/mp4">
</video>
Following error is displaying in console when clicked the play/pause icon.
Unhandled Promise Rejection: [Object DOMError] N (anonymous function) N rejectPromise
Upvotes: 1
Views: 2536
Reputation: 1210
In case someone stumbles upon this error with context that is in description Check out Google Article
Basically no <source>
tag inside <video>
Upvotes: 0