Skip to main content
Participating Frequently
March 15, 2010
Question

Help with example FMS 3.5 Flash player?

  • March 15, 2010
  • 1 reply
  • 810 views

Hi All,

Apologies if this has been discussed before, but does anyone know if:

1/ You can edit the colours/controls used in the example Flash player (videoPlayer.swf) that comes with FMS 3.5 (the one with the RED highlights on the buttons)

2/ Is the videoPlayer.swf file setup to handle multi-bit rates?

If the above is NO, does anyone know where I can get an .FLA that lets me display multi-bitrate files, edit the control buttons AND still lets me use HTML links to streaming files using this method:

http://www.SOMEURL.com.au/show_video.php?source=rtmp:/vod/mp4:episode_01.f4v&type=vod&idx=1

Basically we have an HTML menu that we want to use to link to our streaming files, but want to ensure the correct file loads based on the users Internet connection speed.

I have been racking my brain on this for ages trying to get to a lead that will help me, so I am hoping this forum will get me there.

Many thanks

Tim

    This topic has been closed for replies.

    1 reply

    Janaki Lakshmikanthan
    Adobe Employee
    Adobe Employee
    March 15, 2010

    Hi tjay99,

    1. VideoPlayer.swf allows you to perform MBR. Along with the videoPlayer.html you can see a smil file "dynamicStream.smil". You need to edit this file with your streams. But using which the current videoplayer can do manual switching not the automatic switching based on the bandwidth.

    2. You have the complete source of video player bundled with FMS. It is located at <install root>/Flash Media Server 3.5\samples\videoPlayer\source\videoPlayer. Pls go through the EULA/Disclaimer before editing the source files.

    Regards,

    Janaki L

    tjay99Author
    Participating Frequently
    March 16, 2010

    Hi Janaki,

    Thanks for your advice.

    I have downloaded the Flex SDK and tried dragging the videoPlayer.mxml file onto the mxmlc.exe file to compile but I keep getting an error - override public function play2(param:NetStreamPlayOptions):void - I have found a partial discussion regarding this on the Adobe site, but know conclusion on fixing it. Once the error comes up, the command window closes and that's it. Have you seen this before?

    Thanks

    Tim

    tjay99Author
    Participating Frequently
    March 16, 2010

    Hi Janaki,

    On further investigation, I ran this from the command line:

    mxmlc.exe -use-network=true -target-player=10.0.0 -o "F:\videoPlayer.swf" -file-specs "F:\videoPlayer.mxml"

    AND included the missing slider button in the Assets folder (must be missing by default) and it is all worked fine.

    Basically it was trying to compile using Flash 9, but I made it use 10.0.0 instead.

    Hope that helps others too!

    Thanks again.

    Tim