Hiding flash download icon?

5 posts, 1 answers
  1. Dan
    Dan avatar
    3 posts
    Member since:
    Sep 2014

    Posted 12 Sep 2014 Link to this post

    Hi,

    Would anybody be able to tell me if it is possible (without doing something like a jquery hack) to hide the get flash player download image that gets bundled with the MediaPlayer control?  It's 'annoying' and for my particular implementation is not necessary.  I have attached a screenshot for your review.  I appreciate you taking the time to help me :-)


    Dan Sullivan
  2. Answer
    Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 16 Sep 2014 Link to this post

    Hi Dan,

    Hiding the get flash player download image can be achieved only with javascript. However this image is shown only when the client does not have installed flash player, but the media player plays video via flash. Without installed flash the client will not be able to play the video. Why do you want to hide the image? Do you want to achieve some different mechanism for informing users that they do not have installed flash?

    Looking forward for your reply.

    Regards,
    Radoslav
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Dan
    Dan avatar
    3 posts
    Member since:
    Sep 2014

    Posted 16 Sep 2014 in reply to Radoslav Link to this post

    Hi, Radislav,

    I appreciate you taking the time to get back to me.  I want to hide the image because I'm actually only using the player to play audio, not video.  And I because we are using the application internally I can assume that the browsers natively support the audio format(s) being played.

    Dan Sullivan
  5. Dan
    Dan avatar
    3 posts
    Member since:
    Sep 2014

    Posted 16 Sep 2014 Link to this post

    Also, it might be worth mentioning that once an audio file is bound to the source property of the control, that the flash image appears.  So, this is one way to hide the flash logo as well :-)

    Dan
  6. Radoslav
    Admin
    Radoslav avatar
    1564 posts

    Posted 17 Sep 2014 Link to this post

    Hello Dan,

    You can try hiding this image by using css. In that way it will be hidden always without needs of JavaScript checks if it is shown again:
    <style type="text/css">
            .RadMediaPlayer object{
                display: none;
            }
    </style>

    Please give it try and let me know if it helps you.

    Regards,
    Radoslav
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017