0

Flash API?

Is there a Flash API that I can load Yahoo video player into another SWF? same methods/events?

Is "StreamPlay" thrown when "vidPlay" is requested and completed?

by
2 Replies
  • QUOTE (cbliu_ui @ Sep 3 2008, 02:29 PM) <{POST_SNAPBACK}>
    Is there a Flash API that I can load Yahoo video player into another SWF? same methods/events?

    Is "StreamPlay" thrown when "vidPlay" is requested and completed?


    its a bit different and unsupported officially but:

    flashvars:
    same as html embed

    methods:
    playClip( id )
    pauseClip()
    stopClip()
    seekClip( timecode )
    getCurrentTimecode()
    die()
    startClip()
    initClip( id )
    sizePlayer( width:Number, height:Number)

    events:
    onPlayerInit - wait for this event before interacting w/ the player
    onPlayerError
    onStreamPause
    onStreamStop
    onStreamError
    onPlaylistStart
    onPlaylistComplete
    onPlaylistItemStart
    onPlaylistItemInitialStart
    onPlaylistItemComplete
    0
  • QUOTE (simpson @ Oct 13 2008, 01:30 PM) <{POST_SNAPBACK}>
    its a bit different and unsupported officially but:

    flashvars:
    same as html embed

    methods:
    playClip( id )
    pauseClip()
    stopClip()
    seekClip( timecode )
    getCurrentTimecode()
    die()
    startClip()
    initClip( id )
    sizePlayer( width:Number, height:Number)

    events:
    onPlayerInit - wait for this event before interacting w/ the player
    onPlayerError
    onStreamPause
    onStreamStop
    onStreamError
    onPlaylistStart
    onPlaylistComplete
    onPlaylistItemStart
    onPlaylistItemInitialStart
    onPlaylistItemComplete


    getCurrentTimecode() does not return anything - I expect it returns a Number type but I always got undefined.

    Also, is there a resume event when a user toggle a paused video?
    0
This forum is locked.

Recent Posts

in Video Player