Skip to main content
June 21, 2010
Question

Absolute beginner's question: scaling video in embedded player

  • June 21, 2010
  • 1 reply
  • 392 views

Hi folks,


I'm an absolute beginner in flash video embedding  - my company has purchased FMS 3.5 and I have to -simply- stream videos  from a server via following HTML-Code:

<object  width="800" height="600" id="videoPlayer" name="videoPlayer"  type="application/x-shockwave-flash"  classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000">
  <param name="movie" value="../swfs/videoPlayer.swf" />
  <param name="quality" value="high" />
  <param name="bgcolor" value="#000000" />
  <param name="allowfullscreen" value="true" />
  <param name="flashvars"  value="&videoWidth='800'&videoHeight='600'&dsControl=manual&dsSensitivity=100&serverURL=rtmp://<here  the url>&DS_Status=true&streamType=vod&autoStart=true"  />

<embed src="../swfs/videoPlayer.swf" width="800"  height="600" id="videoPlayer" quality="high" bgcolor="#000000"  name="videoPlayer" allowfullscreen="true"  pluginspage="http://www.adobe.com/go/getflashplayer"  flashvars="&videoWidth='800'&videoHeight='600'&dsControl=manual&dsSensitivity=100&serverURL=rtmp://<here  the url>&DS_Status=true&streamType=vod&autoStart=true"  type="application/x-shockwave-flash">
  </embed>
</object>

My problem is simply the scaling of the videos. The files are  .flv-files and do stream very well from the source directory to my  browser. But when I change the object-width or object-height the video  is just cut instead of scaled.

If I change the videoHeight or  videoWidth (in Flashvars) it has no effect. What am I doing wrong?


ps  The player naturally scales the clips slightly larger than they really  are. So I already guess that there's a setup-file with settings, but I  have no idea where to look it up to configure the player.


I  would appreciate your help!
Thanks in advance!

kuk

    This topic has been closed for replies.

    1 reply

    June 22, 2010

    IN CASE someone has this problem too, it seems the standard Adobe stream player integrated in the FMS-Installation (...) cannot resize the video. So the solution seems to be using another player. I'll use the free FlowPlayer which I also used for replaying .flv-Files, and which has a rtmp-plugin for streaming. Good luck folks...

    kuk