- Posts: 10
COMMUNITY FORUM
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- [SOLVED] Media controls always visible in audio player
[SOLVED] Media controls always visible in audio player
- Carlos
- Topic Author
- Offline
- New Member
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!
Please Log in or Create an account to join the conversation.
- Carlos
- Topic Author
- Offline
- New Member
- Posts: 10
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
- Offline
- Platinum Member
- Posts: 15920
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.
- Joomlaguy
- Offline
- New Member
- Posts: 7
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
- Offline
- Platinum Member
- Posts: 15920
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.
- TheAnt
- Offline
- Premium Member
- Posts: 111
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
- Topic Author
- Offline
- New Member
- Posts: 10
$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>
";
Please Log in or Create an account to join the conversation.
- william white
- Offline
- Platinum Member
- Posts: 3722
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.
- TheAnt
- Offline
- Premium Member
- Posts: 111
Please Log in or Create an account to join the conversation.
- Arco
- Offline
- New Member
- Posts: 1
Please Log in or Create an account to join the conversation.
- Forum
- Free Joomla Extensions & Templates
- AllVideos
- [SOLVED] Media controls always visible in audio player