This is a migrated thread and some comments may be shown as answers.

Video not playing at size of player ?

2 Answers 71 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Barry
Top achievements
Rank 1
Barry asked on 11 Jan 2014, 03:43 AM
Hi.

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 ?

Thanks

2 Answers, 1 is accepted

Sort by
0
Radoslav
Telerik team
answered on 15 Jan 2014, 12:02 PM
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">
</video>

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

Regards,
Radoslav
Telerik
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.
0
Barry
Top achievements
Rank 1
answered on 21 Jan 2014, 04:45 PM
Hi,

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">
</video>

...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,,,

Bazz

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...
Tags
MediaPlayer
Asked by
Barry
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Barry
Top achievements
Rank 1
Share this question
or