Mute mp4 ad

Posted in: Newspaper
Post count: 20

Needing to mute the audio on an .mp4 video running as an ad. I’m required to loop the video and the soundtrack is a total deal-breaker when looped.

Second question: If we didn’t need to loop it, how would we keep the last frame rather than have the player controls appear once the video has ended? As an ad, those controls would never be okay to be seen.

Thanks very much.

Post count: 9544

Are you talking about a specific plugin, or the built-in video playback features in WordPress, which are not part of the theme?

Help with WordPress:
https://codex.wordpress.org/Video_Shortcode

Post count: 20

Not a plugin. So I guess I’m talking about the built-in WordPress codecs? Thanks for the link. I’ve looked it over and don’t see anything about audio or muting. But I’m also curious if the theme (Newspaper) offers me anything for muting? Here is the barebones code:

[video autoplay="autoplay" width="300px" height="250px" mp4="http://northeastoregonnow.com/wp-content/uploads/ad-good-shepherd-300x250-180925-1.mp4" link="http://www.gshcsevent.eventbrite.com/" loop="false"][/video]

Trying to find out if I have to go back to the source and have them send me a new file with no audio. Thanks.

Post count: 9544

Muting is not something you can do via WordPress normally, as that is part of the video player, so you’d need to use a custom video player with option to mute video/audio. Likely need to look at a commercial plugin, or look at the audio player/video player plugins on wordpress.org in the plugin repository.

WP actually uses the mediaplayer.js library, so you have to include some kind of custom code for that …

discussion on audio volume topic here (this is related to playing audio, not video, but may be related from same library):
https://github.com/mediaelement/mediaelement/issues/2449

presumably you’ll need to do something like
startVolume: 0
via the javascript options.

Good luck!

Viewing 4 posts - 1 through 4 (of 4 total)
The forum ‘Newspaper’ is closed to new topics and replies.