Keyword

[SOLVED] Media controls always visible in audio player

  • Carlos
  • Carlos's Avatar Topic Author
  • Offline
  • New Member
More
6 months 1 day ago - 6 months 1 day ago #164828 by Carlos
Carlos created the topic: Media controls always visible in audio player
Hi!

Using audio player with mp3 local file, media controls are automatically hidden when cursor exit player. It's possible to get media controls always visible?

Thanks!
Last Edit: 6 months 1 day ago by Carlos. Reason: Correct typo

Please Log in or Create an account to join the conversation.

  • Carlos
  • Carlos's Avatar Topic Author
  • Offline
  • New Member
More
6 months 18 hours ago #164836 by Carlos
Carlos replied the topic: Media controls always visible in audio player
I've finally solved this issue myself. I've edited plugins/content/jw_allvideos/jw_allvideos/includes/sources.php file and add this line in the clapprEmbed block:

hideMediaControl: false,

Is possible to add a plugin option to control this?

Thanks!

Please Log in or Create an account to join the conversation.

More
5 months 4 weeks ago #164892 by Krikor
Krikor replied the topic: Media controls always visible in audio player
Thank you Carlos for your feedback.
This is an enhancement that is worth looking into.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

More
5 months 4 weeks ago #164897 by Joomlaguy
Joomlaguy replied the topic: Media controls always visible in audio player
This is a problem, not a request for an enhancement.

I have been using this plug in for years without issue. The player controls for audio files were always visible, as they should be. The controls for videos would Auto hide, as they put to, after a few seconds.

Suddenly, however, the auto hide behaviour is happening for all files. I need the previous behaviour, which distinguishes between audio and video files. Not the same behaviour for each.

Can the software developer restore the functionality that already existed in previous versions of the software?

Please Log in or Create an account to join the conversation.

More
5 months 3 weeks ago #164953 by Krikor
Krikor replied the topic: Media controls always visible in audio player
As mentioned earlier, you can post this is as a bug or a feature request on our repo.
Furthermore I want to thank you for your feedback.

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

Please Log in or Create an account to join the conversation.

More
5 months 2 weeks ago #165034 by TheAnt
TheAnt replied the topic: Media controls always visible in audio player

Carlos wrote: I've finally solved this issue myself. I've edited plugins/content/jw_allvideos/jw_allvideos/includes/sources.php file and add this line in the clapprEmbed block:

hideMediaControl: false,

Is possible to add a plugin option to control this?

Thanks!


Please, can you post exactly the correct block here?
Thanks

Please Log in or Create an account to join the conversation.

  • Carlos
  • Carlos's Avatar Topic Author
  • Offline
  • New Member
More
5 months 2 weeks ago - 5 months 2 weeks ago #165035 by Carlos
Carlos replied the topic: Media controls always visible in audio player
Yes, of course, this is the code:
$clapprEmbed = "
<div id=\"avID_{SOURCEID}\" style=\"width:{WIDTH}px;height:{HEIGHT}px;\" title=\"JoomlaWorks AllVideos Player\"></div>
<script type=\"text/javascript\">
    var player = new Clappr.Player({
        source: '{SITEURL}/{FOLDER}/{SOURCE}.{FILE_EXT}',
        poster: '{PLAYER_POSTER_FRAME}',
        height: '{HEIGHT}',
        width: '{WIDTH}',
        autoPlay: {PLAYER_AUTOPLAY},
        loop: {PLAYER_LOOP},
        //hideMediaControl: {JWPLAYER_CONTROLS},
        hideMediaControl: false,
        parentId: '#avID_{SOURCEID}'
    });
</script>
";
Last Edit: 5 months 2 weeks ago by Carlos.

Please Log in or Create an account to join the conversation.

More
5 months 2 weeks ago #165036 by william white
william white replied the topic: Media controls always visible in audio player
It appears that there is a commented line in the source code already refering to JWPLAYER_CONTROLS but there is no language string for it or a field defined in the xml file.
There are more than one instance of JWPLAYER_CONTROLS in sources.php and there may be a reason it was commented and left out.
Needs testing as it may have broken something else we are not aware of

Please Log in or Create an account to join the conversation.

More
5 months 2 weeks ago #165037 by TheAnt
TheAnt replied the topic: Media controls always visible in audio player
Thanks a lot

Please Log in or Create an account to join the conversation.

More
5 months 1 week ago #165222 by Arco
Arco replied the topic: Media controls always visible in audio player
Same issue here. Only black rectangles on my website. Videos worked fine (Youtube), but the plugin’s appearance for audio files was horrible. Changing the sources.php file did not do the trick for me; I had to increase the height to at least 50 pixels for the audio player (whereas before it was only 24), but still there was only one centered play button. The other controls appeared after clicking it. That wasn’t an option for me. Besides that, doubling the height messed up the page layout. So here’s what I did: uninstall version 4.8 and then install version 4.7 that I still had on my pc. Works like a charm now.

Please Log in or Create an account to join the conversation.