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

Hiding flash download icon?

4 Answers 29 Views
MediaPlayer
This is a migrated thread and some comments may be shown as answers.
Dan
Top achievements
Rank 1
Dan asked on 12 Sep 2014, 04:35 PM
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

4 Answers, 1 is accepted

Sort by
0
Accepted
Radoslav
Telerik team
answered on 16 Sep 2014, 08:05 AM
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.

 
0
Dan
Top achievements
Rank 1
answered on 16 Sep 2014, 02:08 PM
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
0
Dan
Top achievements
Rank 1
answered on 16 Sep 2014, 02:34 PM
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
0
Radoslav
Telerik team
answered on 17 Sep 2014, 08:30 AM
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.

 
Tags
MediaPlayer
Asked by
Dan
Top achievements
Rank 1
Answers by
Radoslav
Telerik team
Dan
Top achievements
Rank 1
Share this question
or