Home Forums Add-ons Repeater Field Repeated Video


Repeated Video

  • Hi guys,

    I’m trying to repeat the Videos in foreach loop, i’m little bit confused while the Video does not render on frontend, but here is the image that show, everything render properly.


        $iframe = get_field('video');
    	  foreach ( $iframe as $mp4){ ?>
        <video width="620" autoplay muted loop controls poster="<?php echo $mp4['poster_video']['url'] ;?>">
          <source src="<?php echo $mp4['videos'] ;?>" type="video/mp4">
          Your browser doesn't support HTML5 video tag.
        <?php }
Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.