Issue Bug Closed

#50041Media content element does not work with youtube and https

Jochem de Groot 07/15/13, 17:57 updated 10/23/17, 21:47

Description

If I add a media content element with a youtube url on a website which uses https, a blank box will be shown in the frontend while using Chrome (instead of the yt movie). It seems that a youtube url will always be prefixed with: ‘http://www.youtube.com/v/’, which is hard-coded in class.tslib_mediawizardcoreprovider.php. Other browsers will prompt a message that the https connection is partly secure, because of this.

I’ve added a patch as a suggestion. This prefixes the youtube url with http or https dependend on the current used protocol.

Regards,
— Jochem

Reviews 3