Foliovision › Forums › FV Player › How to … › Start a video muted in the shortcode editor?
-
-
Hello Alexandre,
Currently, you can only set the default volume in Settings > FV Player > Setup tab > Sitewide FV Player Defaults, there is no shortcode parameter for this at this moment.
This will apply to all videos on your website, but if a user changes the volume, his new setting will be stored in his browser and will be the new default for him.
That also means that if you have used the volume adjustment before yourself, you will be seeing your latest setting when you open videos on your website, no matter what value you set for the default volume settings. Therefore you should be using your browser’s Incognito/Private mode, so you can see how this will appear for the new users.
Thanks,
EduardHello Alexandre and hummelmose,
We are actually working on a core upgrade to Flowplayer 7 engine (the open-source engine our player is built upon) and it will also bring support for silent autoplay of videos that will even work on some newer mobile devices (more info will be available when the feature is announced on our blog). If things go well, the update could be available in the middle of the next week.
Thanks,
EduardHello all,
I am a PRO user too and would like (need) to have the possibility to embed selected videos muted.I have some looped videos as sales support, just showing some actions and those have to play without any audio (loaded from Vimeo – original content is with audio).
So either a shortcode or – if you have already a solution – any JS script I could use for now?
Thanks for a feedback.
Hello Dan and hummelmose,
I have to correct Eduard here a bit – the new silent autoplay in FV Player 7 helps making sure the video is allowed to autoplay on mobile devices. But it doesn’t give you the opportunity to start the video muted.
A script like this in your site footer or theme JS file will make your video muted:
flowplayer( function(api,root) { if( jQuery(root).parents('.muted').length ) { api.bind('ready', function(e,api,video) { api.conf.muted = true; api.mute(true); }); } });
All you have to do is place the shortcode in a div like:
[fvplayer ...]Thanks,
MartinHello Fair,
Chrome doesn’t permit autoplay videos to play sound. User has to unmute the video manually to hear the sound.
Once user interacts with the video like that Chrome increases the Media Engagement Index (MEI) for the website and will allow audible autoplay for that particular website in the future.
You can find out more about MEI here: https://foliovision.com/2018/05/video-autoplay-issues
Safari only allows muted autoplay under all circumstances.
Please let us know if you are not sure about anything or if your situation is different than what I described above.
Thanks,
Martin