Re: Show first frame of movie

Tech-Archive recommends: Fix windows errors by optimizing your registry



Neil Smith [MVP Digital Media] wrote:
It's not terribly precise either - your best option is to take a JPEG
of whichever non-black frame your video has, and display that in the
player area, then hiding the image and showing the player once your
playstate changes to playing.

I've now used attachEvent to add a playStateChange handler. However I cannot find a way to reference the control from within the event handler. When using the solution I've posted before, I'm creating a closure which doesn't seem to be released from IE causing the video to play even when I deleted the element and set all references to null.

Any chance to reference the video from within the event handler without using closures? (There could be multiple videos on the page).

Daniel
.



Relevant Pages

  • Re: Extracting the video signal from a 38.9MHz TV IF
    ... and can either inject it into the output video ... Now obviously I need a tuner -- that's not a problem. ... with the sound carrier at =44.6MHz. ... does anyone know of a reliable reference (or indeed more than ...
    (sci.electronics.design)
  • Re: Extracting the video signal from a 38.9MHz TV IF
    ... and can either inject it into the output video ... Now obviously I need a tuner -- that's not a problem. ... with the sound carrier at =44.6MHz. ... does anyone know of a reliable reference (or indeed more than ...
    (sci.electronics.design)
  • Re: who is setting the m_startTime (offset) in DShow Filter?
    ... Thanks for your reference. ... I am trying to implement a one way video and audio streaming (like a ... Since they are two filter graph on two difference machine and start at ... I want to implement a filter in front of the video renderer to simulate ...
    (microsoft.public.win32.programmer.directx.video)
  • Re: Windows Media Player ActiveX Crashes System
    ... again after playing the first video, thats when it crashes my system. ... not appear to matter what wmp statement it hits... ... The first time through, it's fine... ... event handlers or ANY event handler? ...
    (microsoft.public.vb.general.discussion)
  • Re: Windows Media Player ActiveX Crashes System
    ... it was their choice to wait for the file video to start. ... ' Case wmposPlaylistChanging ... ' Case wmposMediaChanging ... now I don't know about you, but that event handler is showing ...
    (microsoft.public.vb.general.discussion)