Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7883275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 3, 20262026-06-03T04:29:23+00:00 2026-06-03T04:29:23+00:00

I noticed that Windows Phone 7’s default browser doesn’t fire the ended event when

  • 0

I noticed that Windows Phone 7’s default browser doesn’t fire the “ended” event when a HTML5 video has ended.

So I thought I could constantly check the current time every 100ms and then calculate:

if (videolength - video.currentTime <= 0) alert("ended");

This also won’t work because Windows Phone 7’s native browser always does: "170 - 0"

video.currentTime is always 0, no matter at which part of the video I check.

How can I check if a video has ended on Windows Phone 7 then?

Update: I just checked the user agent of the browser and it says ie9. So, why does it not want to fire the “ended” event?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-03T04:29:24+00:00Added an answer on June 3, 2026 at 4:29 am

    If you’re attempting to listen for the event using addEventListener, or via a jQuery binding, you need to use the event type “ended” rather than the name of the element’s event handler “onended”.

    [Updated]

    So it appears that IE 9 mobile supports a very limited subset of the HTML5 video API. This W3 demo is useful for testing which elements of the API it does actually support.

    Depending on your requirements, which aren’t completely clear from the question, it seems to me that your options are very limited. You could either:

    1. Use the browser’s native player, accept that there’s no way of detecting the end of the video, and wait for Microsoft to get their act together in adding support for the sections of the API you need.
    2. Use a Flash solution as a fallback (you’ll need one anyway if you plan to support legacy browsers) and encourage the small, but admittedly growing, number of IE 9 mobile users to install the metro browser. It gets mixed reviews and it isn’t entirely clear whether it supports Flash video players other than the ones listed, but does claim to support YouTube. It’s probably worth at least considering.
    3. Hope that Google update Chrome frame to work on Windows 7 phones. I have no idea how likely that is, but the idea of polyfilling IE 9 with Google frame amuses me and this answer has been pretty low on laughs so far.

    Oh, and Microsoft, if you’re going to follow Apple’s example and drop support for Flash on your mobile devices, at least make sure your browser supports a useful amount of the HTML5 video API.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Windows Phone 7.5 app. Designer has created Home.xaml in Blend that has 3 images(menu
I was reading this very useful article and noticed that a Windows Phone application
Lately I have installed Windows Phone 7 developement tools and noticed that VS2010 unable
I noticed that in Windows 7 there is a Program called Windows Fax and
I have noticed that the Windows Vista/7 dialogs look MUCH better than just a
I have been messing around with OpenGL lately, and I noticed that the windows
Just noticed that the style of the navigation menu on windows.com is just what
I noticed that if you get a Scripting.File object from certain windows files (Example:
I was looking at the various windows styles flags, and I noticed that a
I am using SampleGrabber in DirectShow on windows 7, I noticed that the Code

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.