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

customize size

1 Answer 118 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Man
Top achievements
Rank 1
Man asked on 03 May 2018, 11:23 AM

Hello,

if i set the dimensions of the MediaPlayer with:

style="width: 500px; height: 400px;"

i have this problem:

kendo.all.js:77891 Uncaught TypeError: Cannot read property 'find' of undefined

 

with this settings: style="width:640px; height: 360px;"

everything works

why?

 

Thank you

1 Answer, 1 is accepted

Sort by
0
Konstantin Dikov
Telerik team
answered on 07 May 2018, 05:27 AM
Hello,

There seems to be a limit for the width of the MediaPlayer, which is about 530px, but you could reduce it to 500 by changing the font-size with custom CSS as shown in the following dojo example:
For reducing the width even more, you could reduce the font-size to 10 or 9 px.


Best Regards,
Konstantin Dikov
Progress Telerik
Try our brand new, jQuery-free Angular components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
MediaPlayer
Asked by
Man
Top achievements
Rank 1
Answers by
Konstantin Dikov
Telerik team
Share this question
or