- 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: 112
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: 112
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.
- Alex Walker
-
- Offline
- New Member
- Posts: 14
www.acalltoaction.org.uk/news/397-the-bishops-statement-on-magnum-principium
Joomla: 3.8.2
php: 7.0.25
MySQLi 5.6.36-82.1-log
Allvideos: 4.8.0
imgur.com/PXJj9QS
Please Log in or Create an account to join the conversation.
- Camille
-
- Offline
- New Member
- Posts: 11
Yes, it's necessary to increase the height of the box (for me : 64px).
Yes, first we have only the arrow, controller appears only after clicking on the arrow. But it's beter than nothing.
Yes, there is a commentated line in sources.php, the same line hideMediaControl. It seems the corresponding setting in the plugin is missing, no ?
I compare with the file from an older version. This line was
controls:{JWPLAYER_CONTROLS},
I see an other difference between both files : in the new version there are no '' around source, poster, .... Why ?
thanks a lot !
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
github.com/joomlaworks/allvideos/blob/master/plugin/jw_allvideos/includes/sources.php#L155-L156
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Oliver Pfister
-
- Offline
- New Member
- Posts: 2
In AllVideos plugin configuration:
Default height (in px) for audio player: 84 (that should now be the default)
Display JW Player controls: yes (here the developer could remove "JW")
In sources.php:
$clapprEmbed = "
...
hideMediaControl: !{JWPLAYER_CONTROLS},
...
$clapprEmbedRemote = "
...
hideMediaControl: !{JWPLAYER_CONTROLS},
...
In responsive template.css:
...
.avAudio .avPlayerContainer .avPlayerBlock > div {min-width:100%!important;width:100%!important;height:84px!important;}
...
Please Log in or Create an account to join the conversation.
- Oliver Pfister
-
- Offline
- New Member
- Posts: 2
...
.avAudio .avPlayerContainer .avPlayerBlock > div {min-width:100%!important;width:100%!important;height:84px!important;}
.avAudio .avPlayerContainer .avPlayerBlock .avDownloadLink {height:24px!important;}
...
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Goran Aasen
-
- Offline
- New Member
- Posts: 4
Arco wrote: 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.
I had the same problem with only black rectangles, and after reinstalling the 4.7 version everything is back working again.
Thanks a lot for sharing.
I do hope the developer fixes this in the later versions.
Reg.
Goran
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
(With 4.8 installed)
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Goran Aasen
-
- Offline
- New Member
- Posts: 4
The above is with an Artisteer template.
The link below is same website with Themler:
www.samerhatoum.com/my-works/listen-to-my-music?template=samhat387&is_preview=on
Please Log in or Create an account to join the conversation.
- Goran Aasen
-
- Offline
- New Member
- Posts: 4
I didn't hear back from you, so have now downgraded to 4.7 again as this is a live site.
Let me know if and when you need to look at this, and I can upgrade again accordingly.
Reg.
Gøran
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