A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: new FLV Player ver. 2.0

  1. #1
    Media Services
    Join Date
    Jul 2004
    Posts
    252

    » new FLV Player ver. 2.0

    We received many emails with suggestions and requests for more improved functionality. We listened to your needs and suggestions and here it is

    New FLV Player ver. 2.0

    NEW FEATURES IN CONTROL PANEL
    » Controls: auto-hide
    » Custom "CONNECTING TO MEDIA" message
    » Loop video play
    » Autoresize


    CONTROL YOUR VIDEO WITH CUSTOM BUTTONS:
    Built-in functions allow control of the component during runtime. To use these functions give the component an instance name, for example myPlayer (new features are marked with New!)

    myPlayer.playVideo();
    myPlayer.pauseVideo();
    myPlayer.rewindVideo();
    myPlayer.loadVideo("myVideo.flv");
    myPlayer.forward_video(true); New!
    myPlayer.rewind_video(true); New!
    myPlayer.setVolume(100); New!
    myPlayer.clearVideo(); New!

    example:
    If you want to add your own button for REWIND you can use this action:

    button.onPress = function (){
    player_mc.forward_video(true);
    }
    button.onRelease= function (){
    player_mc.forward_video(false);
    }


    COMPONENT EVENTS
    Our FLV Player supports the Event Listener model:

    START - triggered when the video first begins
    STOP - triggered each time the video ends
    PLAY - triggered each time the video begins to play
    PAUSE - triggered each time the video is paused
    BUFFER - broadcasting buffer values in 0-100 (percentage) New!
    REWIND - triggered each time the video is rewinded
    TIME - broadcasting player time in 0.0 seconds format New!
    LOAD - broadcasting video loading in 0-100 (percentage) New!

    example:
    Let's say that you want to perform some action when the video in the component ends. To do this place the following code on the same timeline as player_mc , the instance name of your component.

    var myListener = new Object();
    myListener.stop = function():Void
    {
    trace("video ended");
    }
    player_mc.addEventListener("stop", myListener);



    We appriciate your feedback. If you have any suggestions, you like or don't like our player...please let us know at: feedback@proxus.com

    We will not respond to those e-mails but we'll read them and use as a guide to improve future products.


    Thank you
    Last edited by PROXUS; 10-26-2004 at 03:38 PM.

  2. #2
    Junior Member
    Join Date
    Nov 2003
    Location
    Sydney
    Posts
    17
    Hi

    great player, just one thing I really need to be able to do it:

    Loop the video x times, basically in this current case 3 times... how do i go about doing that?

    ta
    chris

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center