Youtube video on load through Jquery/JS
- by jonthecoder2346
My goal is to display a youtube video through a javascript function that will read the embedded code and load the video automatically in the div assigned. But I am not getting anything shown in the div assigned for the video. Is it because it has to be triggered by a button click?
<script type="text/javascript">
…