Keyword

[SOLVED] Media controls always visible in audio player

  • Carlos
  • Carlos's Avatar Topic Author
  • Offline
  • New Member
More
6 years 5 months ago - 6 years 5 months ago #164828 by Carlos
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 years 5 months 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 years 5 months ago #164836 by Carlos
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.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 5 months ago #164892 by Krikor Boghossian
Replied by Krikor Boghossian on topic Media controls always visible in audio player
Thank you Carlos for your feedback.
This is an enhancement that is worth looking into.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
6 years 5 months ago #164897 by Joomlaguy
Replied by Joomlaguy on 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.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 5 months ago #164953 by Krikor Boghossian
Replied by Krikor Boghossian on 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.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

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

More
6 years 4 months ago #165034 by TheAnt

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
6 years 4 months ago - 6 years 4 months ago #165035 by Carlos
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: 6 years 4 months ago by Carlos.

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

More
6 years 4 months ago #165036 by william white
Replied by william white on 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
6 years 4 months ago #165037 by TheAnt
Thanks a lot

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

More
6 years 4 months ago #165222 by Arco
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.


Powered by Kunena Forum