jimie VIP
Total posts: 531
20 Apr 2015 10:30

Hey Sergey,

Can you add this fix for video field, is required for websites using ssl

Open file:

com_cobalt/fields/video/adapters/youtube.php

and change:

static private $tamplate = '<iframe width="%s" height="%s" src="/ http://www.youtube.com/embed/ %s" frameborder="0" allowfullscreen></iframe>'; ``

to this:

static private $tamplate = '<iframe width="%s" height="%s" src="/ https://www.youtube.com/embed/ %s" frameborder="0" allowfullscreen></iframe>';

Rgds

Last Modified: 01 May 2015


Sergey
Total posts: 13,748
23 Apr 2015 04:04

I made it difefrently. It will be http on sites opened throu http and https on sites opened through https.


jimie VIP
Total posts: 531
30 Apr 2015 18:34

Another one I just found Sergey

fields/geo/assets/geo.js

var url = ' http://maps.googleapis.com/maps/api/geocode/json?language= ' + options.lang + '&latlng=' + marker.getPosition().lat() + ',' + marker.getPosition().lng() + '&sensor=true'

Can you do the same there ?

Rgds


Sergey
Total posts: 13,748
01 May 2015 03:39

Done.

Powered by Cobalt