Hi I am using this code for youtube video (Wordpress), how should look `$` php in this function if I need send my Https:/`

```
$(function(){  
    $('.Play').click(function() {
        $('.videoWrapper').show().find("iframe").attr("src","http://www.youtube.com/embed/'. $youtube_embded_code.'?modestbranding=1&rel=0&showinfo=0&color=red&wmode=opaque&autoplay=1");         
    });
 });`

```

`$youtube_emded_code` - doesn't work inside "Http://" 

---

Thank you so much for all questions but I still have the same problem(, problem is this is code works perfect without php `
 $(function(){
 $('.Play').click(function() {
 $('.videoWrapper').show().find("iframe").attr("src","<https://www.youtube.com/embed/zyesmPtFziw?modestbranding=1&rel=0&showinfo=0&color=white&wmode=opaque&autoplay=1>"); 

});
 });
 `and .attr replace all "https://" to this part of php code :`$youtube\_video=get\_post\_meta(get\_the\_ID(), 'dt\_youtube\_video\_url',true); 
 $youtube\_embded\_link = str\_replace('watch?v=' , 'embed/', $youtube\_video);  

 $youtube\_embded\_code = str\_replace('http://', '', $youtube\_video);
 $youtube\_embded\_code = str\_replace('www.youtube.com/', '', $youtube\_embded\_code);
 $youtube\_embded\_code = str\_replace('embed/', '', $youtube\_embded\_code);
 $youtube\_embded\_code = str\_replace('watch?v=', '', $youtube\_embded\_code);
 echo '';  

 echo '';
 echo'';
 ?> `