Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated
Welcome the Technical Support section. Help us in assisting you by providing us with a concise and descriptive elaboration of your issues. Be specific and if possible, provide us with a step-by-step instruction in replicating your problem.

Embed Videos don't shows

11 years 11 months ago
Licenses:
JomSocial Expired Socialize Expired

Hi,

I'm using Joomla 2.5.27 and Jomsocial 2.8.4.2 (No, I still can't upgrade to the latest JS version)

Suddently no one embeded videos plays when a user selected it.
For instance, I've embed a youtube video, but when I go to My videos and click on the thumbnail nothing happens.
See the images below.

Attachment pic1.jpg not found



Attachment pic2.jpg not found



Regards
Fernando

Attachments:
11 years 11 months ago
Licenses:

Hi Fernando,

cloud you please provide me FTP access detail. I got this error message at video page:
Blocked loading mixed active content

that because the video not using https. I need to changing some files. I cant give any instructions yet, because your version is not latest. I must have a look the files first.

Regards,
Albert

11 years 11 months ago
Licenses:
JomSocial Expired Socialize Expired

Hi Albert,

I edited my first post with ftp credentials.

Regards
Fernando

11 years 11 months ago
Licenses:

Hi Fernando,

here the fix:
/components/com_community/libraries/videos/youtube.php at public function getViewHTML
you can find this code

if($config->get('use_youtube_iframe_embed'))
{
// Use new iframe embed method
$html = '<iframe class="youtube-player" type="text/html" width="'.$videoWidth.'" height="'.$videoHeight.'" src="http://www.youtube.com/embed/'.$videoId.'" frameborder="0">
	</iframe>';
}
changing it to
if($config->get('use_youtube_iframe_embed'))
{
// Use new iframe embed method
$html = '<iframe class="youtube-player" type="text/html" width="'.$videoWidth.'" height="'.$videoHeight.'" src="https://www.youtube.com/embed/'.$videoId.'" frameborder="0">
	</iframe>';
}

you can apply this fix for other videos source (non youtube). that code only changing http to https at src value.

Regards,
Albert

11 years 11 months ago
Licenses:
JomSocial Expired Socialize Expired

Hi Albert,

It worked. Thank you.

Regards
Fernando

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW