Client UI & asmx

2 posts, 0 answers
  1. Maieutiche
    Maieutiche avatar
    5 posts
    Member since:
    Oct 2008

    Posted 30 Nov 2017 Link to this post

    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 ?
  2. Rumen
    Admin
    Rumen avatar
    14100 posts

    Posted 05 Dec 2017 Link to this post

    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.
Back to Top