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

Client UI & asmx

1 Answer 74 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Maieutiche
Top achievements
Rank 2
Maieutiche asked on 30 Nov 2017, 01:00 PM
Hi, there is a way to customize the media player so that:
1. Do not show the posters, I have no pictures to show and I do not want to show a <img src = "">
2. The playlist is default opened, if i set width to 100% when i try to open the playlist item i'm not able to see it on the page. I want to fix width for player and for playlist box;
3. Do not show the playlist opening / closing buttons;
4. Can i add some additionals info to "MediaPlayerVideoFile" or "MediaPlayerAudioFile" and then (on user first play of a file) call a client-side code that increments statistics for play via asmx ?

1 Answer, 1 is accepted

Sort by
0
Rumen
Telerik team
answered on 05 Dec 2017, 12:20 PM
Hello,

Straight to the points:
1) Do not set the Poster property and no image poster will be generated - video demo.
2) Since the PlayList does not offer a built-in Width and Height properties, my advice is to load it inside the MediaPlayer by setting the Position property to "VerticalInside", i.e.

<telerik:RadMediaPlayer ...
      <PlaylistSettings Position="VerticalInside" ...


3) You can hide the show/hide playlist button with this CSS class:

<style>
.rmpOpenPlaylistButton { display:none !important}
</style>


4) I am afraid that the control does not offer the requested statistics capabilities. If you'd like to see such functionality enabled in the control, please file a feature request in the feedback portal: https://feedback.telerik.com/Project/108. Thank you!

Best Regards,
Rumen
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
Maieutiche
Top achievements
Rank 2
Answers by
Rumen
Telerik team
Share this question
or