Unfortunately, the “Playsinline” attribute is supported only on iOS.
No worries, kindly try adding the following code to the bottom of your theme’s functions.php file to open the videos in fullscreen on your Android devices.
function aiovg_custom_extend_player() {
if ( ! wp_is_mobile() ) return;
?>
<script type="text/javascript">
// Listen to the player initialized event
window.addEventListener( 'player.init', function( evt ) {
var player = evt.detail.player;
// play
var fullscreenRequested = false;
player.on( 'play', function() {
if ( fullscreenRequested ) return true;
player.requestFullscreen();
fullscreenRequested = true;
});
// ended
player.on( 'ended', function() {
player.exitFullscreen();
});
});
</script>
<?php
}
add_action( 'aiovg_player_footer', 'aiovg_custom_extend_player' );
But, the above code works only when the videos are played using our custom video player. I remember that you use Dailymotion videos on your website but that uses the native Dailymotion embed. Sorry, the code patch above will not work for Dailymotion videos ??
The Dailymotion’s Player API has been completely changed. So, our current custom player version cannot play the Dailymotion videos. But, I promise that we will support their latest Player API very soon. Kindly be patient.