Results 1 to 2 of 2

Thread: Is there a event that fires after a video has been played completely?

  1. #1
    Sencha User
    Join Date
    Aug 2012
    Posts
    1
    Vote Rating
    0
      0  

    Default Is there a event that fires after a video has been played completely?

    Am trying to initiate a callback as a result of a video completely playing but with limited success. Couldn't find a event listener which fires after the video completes. I guess there is a function ended in HTML5 and sencha 2.0. As the same function is not available in sencha one is there any alternative to go about it ???

    Another problem i have is the poster image stays throught the video playback. Audio is fine but video gets visible only after taping on the video component

    P.S am trying to play the video using custom controls using play() and the above is the behaviour. When i try to play using sencha controls it works fine... Any help is appreciated

  2. #2
    Sencha - Sr Software Engineer mitchellsimoens's Avatar
    Join Date
    Mar 2007
    Location
    Gainesville, FL
    Posts
    39,556
    Answers
    3932
    Vote Rating
    1272
      0  

    Default

    You would have to add an ended listener to the DOM element for the media
    Mitchell Simoens @LikelyMitch
    Sencha Inc, Senior Software Engineer
    ________________
    Learn BBCode and use it! Checkout the CODE tag!

    Check out my GitHub, lots of nice things for Ext JS and Sencha Touch
    https://github.com/mitchellsimoens

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •