vinothkumar102
vinothkumar102

Reputation: 11

HTML5 Video Play/Pause control is not working in safari browser only

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

Answers (1)

YEVY
YEVY

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

Related Questions