Using html5 video events on the iPhone, how do I tell “Done” button click from a simple pause?

前端 未结 3 521
南旧
南旧 2021-01-30 18:16

I\'ve got a web page for the iPhone that uses the HTML5 video tags. On the iPhone, such embedded videos are played in the native player. I wanted to check when the video had end

3条回答
  •  孤街浪徒
    2021-01-30 18:33

    There is an event called "ended" that you should probably use, see http://www.whatwg.org/specs/web-apps/current-work/multipage/video.html#event-media-ended .

提交回复
热议问题