Bug 160655 - Video tag should not trigger "ended" after setting currentTime to the end of the video.
Summary: Video tag should not trigger "ended" after setting currentTime to the end of ...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Media (show other bugs)
Version: Safari 9
Hardware: iPhone / iPad iOS 9.3
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-08 03:47 PDT by Sam Joch
Modified: 2023-10-27 14:38 PDT (History)
4 users (show)

See Also:


Attachments
"ended" issue (4.31 KB, text/html)
2016-08-08 03:47 PDT, Sam Joch
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sam Joch 2016-08-08 03:47:19 PDT
Created attachment 285562 [details]
"ended" issue

## Use case

1. video.currentTime = video.duration
2. video triggered "ended"
3. video.currentTime = 10
4. video triggered "ended" again!

This is easily reproductible using a MP4 video,
it also happens sometime using HLS_V1 or HLS_V5 stream.

## Expectation

The video should not trigger "ended" after setting
currentTime to the end of the video.

## Note

You can find in attachment a way to reproduce this issue.

Thanks