Embedding Video From YouTube...

OK I am trying to embed video with a https: string from youtube like https://www.youtube.com/watch?v=xx02NKfmnWI    HA HA but none will play with the embed feature.  I do have HTTPS with my sites and when I upload a video it plays it is only the embed feature...any thoughts?

Csampson
Quote · 3 May 2014

You have something going on with your site - testing on boonex demo site - all works well.

caredesign.net
Quote · 3 May 2014

<object width="425" height="344" style="display:block;"><param name="movie" value="http://www.youtube.com/v/xx02NKfmnWI&rel=0&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="wmode" value="opaque"></param><embed src="http://www.youtube.com/v/xx02NKfmnWI&rel=0&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344" wmode="opaque"></embed></object>

 

How do I change this as this has to be the issue.  I upload the video and it was uploaded as https:// when it processes the video it changes it back to http:// which on an https:// will not allow it to be viewed...  AGAIN see the embed code above and see the source is no longer https://  I don't think the demo site is https://  this would not matter going from https to http on a nonsecure site...IMHO

Csampson
Quote · 3 May 2014

The same thing happens on the demo site...except the video plays...HMMM

<object width="425" height="344" style="display:block;"><param name="movie" value="http://www.youtube.com/v/xx02NKfmnWI&rel=0&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1"></param><param name="allowFullScreen" value="true"></param><param name="wmode" value="opaque"></param><embed src="http://www.youtube.com/v/xx02NKfmnWI&rel=0&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344" wmode="opaque"></embed></object>

Csampson
Quote · 3 May 2014

You can view it - you have to enable non encrypted info to be viewable or allow blocked content. But besides that, you may need to change the way that dolphin's embed code is setup. I am not exactly sure as my embedded videos were created by me, but they do display on my https site with no problems. On modules/boonex/videos/classes/BxVideosConfig.php - you can try changing:

 

if(!defined("YOUTUBE_VIDEO_PLAYER"))
            define("YOUTUBE_VIDEO_PLAYER", '<object width="100%" height="344" style="display:block;"><param name="movie" value="https://www.youtube.com/v/#video#&rel=0&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1#autoplay#&iv_load_policy=3&showinfo=0"></param><param name="allowFullScreen" value="true"></param><param name="wmode" value="#wmode#"></param><embed src="https://www.youtube.com/v/#video#&rel=0&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1#autoplay#&iv_load_policy=3&showinfo=0" type="application/x-shockwave-flash" allowfullscreen="true" width="100%" height="344" wmode="#wmode#"></embed></object>');
        if(!defined("YOUTUBE_VIDEO_EMBED"))
            define("YOUTUBE_VIDEO_EMBED", '<object width="425" height="344" style="display:block;"><param name="movie" value="https://www.youtube.com/v/#video#&rel=0&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1#autoplay#"></param><param name="allowFullScreen" value="true"></param><param name="wmode" value="#wmode#"></param><embed src="https://www.youtube.com/v/#video#&rel=0&color1=0xb1b1b1&color2=0xcfcfcf&feature=player_embedded&fs=1#autoplay#" type="application/x-shockwave-flash" allowfullscreen="true" width="425" height="344" wmode="#wmode#"></embed></object>');

 

Don't forget to clear your caches

caredesign.net
Quote · 3 May 2014

Thanks that made it visible for everything on and as https://   Laughing

Csampson
Quote · 3 May 2014
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.