Use https for dailymotion
This commit is contained in:
parent
199482c042
commit
cd6ee96ae7
1 changed files with 1 additions and 1 deletions
|
@ -169,7 +169,7 @@ plugins.factory('userPlugins', function() {
|
||||||
var match = message.match(rPath) || message.match(rAnchor) || message.match(rShorten);
|
var match = message.match(rPath) || message.match(rAnchor) || message.match(rShorten);
|
||||||
if (match) {
|
if (match) {
|
||||||
var id = match[1];
|
var id = match[1];
|
||||||
var embedurl = 'http://www.dailymotion.com/embed/video/' + id + '?html&controls=html&startscreen=html&info=0&logo=0&related=0';
|
var embedurl = 'https://www.dailymotion.com/embed/video/' + id + '?html&controls=html&startscreen=html&info=0&logo=0&related=0';
|
||||||
return '<iframe frameborder="0" width="480" height="270" src="' + embedurl + '"></iframe>';
|
return '<iframe frameborder="0" width="480" height="270" src="' + embedurl + '"></iframe>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue