Video not playing at size of player ?

3 posts, 0 answers
  1. Barry
    Barry avatar
    27 posts
    Member since:
    Aug 2011

    Posted 10 Jan 2014 Link to this post


    I have the player set to: 400x250.

    I have some videos with the exact same dimensions.

    When playing any of them in the player they're only about 2/3 of their normal size.

    How do I tell the player to play the video at it's native size ?.....or even better, tell it to play it at whatever size I want ?

  2. Radoslav
    Radoslav avatar
    1566 posts

    Posted 15 Jan 2014 Link to this post

    Hi Bazz,

    I tried to reproduce the described issue but to no avail. I am sending you a simple example which shows that if the MediaPlayer width and height are the same as the video the player is not resized. Please check it out and let me know what is different in your case. Also can you please try to load the video into the standard html5 player by using following code and let me know if the issue is appeared:
    <video width="400" height="250" controls>
      <source src="movie.mp4" type="video/mp4">
      <source src="movie.ogg" type="video/ogg">

    Additionally I will forward your request concerning auto resizing of RadMediaPlayer to our developers for further consideration.

    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  3. Barry
    Barry avatar
    27 posts
    Member since:
    Aug 2011

    Posted 21 Jan 2014 Link to this post


    I tried the HTML5 video player as below, and the same issue is there as well. It's very odd because the video have been verified to be 400x250, so you would think that:

    <video width="400" height="250" controls>
      <source src="myMovie1.mp4" type="video/mp4">
      <source src="myMovie2.mp4" type="video/mp4">

    ...would work....but alas, the video is only about 2/3 the proper size, and sits shrunk right int he middle of the player. It may be something else I have going on within the .ASP page that is causing it to mess up. If it doesn't work properly with your control as well as the HTML5 one, then I concede it is likely something on my end. Thanks,,,


    P.S. I'll take a look at the project you supplied as an example next, and swap put the videos you have for mine and see if they mess up there...if they do, then it's gotta be my videos....thanks again...
Back to Top