Youtube API wont play when calling player.playVideo()
Clash Royale CLAN TAG #URR8PPP Youtube API wont play when calling player.playVideo() I'm trying to get a click on .iphone to play a video that I constructed using the youtube API. It's in theory really simple. Click on .iphone then call function playVid() which executes player.playVideo() which should play the video but it doesn't. I know I'm missing something so basic and I appreciate any help. Thanks! <div class="img"> <div class="iphone-container"> <div class="iphone"> <img src="<?php the_asset_dir() ?>/iphone.png" alt="" srcset=""> <div class="vid"> <div id="player" class="vid-wrapper"> <iframe width="560" height="315" src="https://www.youtube.com/embed/Uv554B7YHk4?rel=0&showinfo=0" frameborder...