class videoPopupLink extends normalLink {
public function getURL() {
- $this->copyExternalFile($this->to, true);
+ $this->copyExternalFile($this->to, false);
$file = $this->to;
$e = explode('.', $file);
$ext = array_pop($e);
class audioPopupLink extends normalLink {
public function getURL() {
- $this->copyExternalFile($this->to, true);
+ $this->copyExternalFile($this->to, false);
$file = $this->to;
$e = explode('.', $file);
$ext = array_pop($e);
public function getEmbedURL() {
if ($this->video_service == 0) {
- $url = 'http://www.youtube.com/embed/' . $this->to . '?html5=1';
+ $url = 'https://www.youtube.com/embed/' . $this->to . '?html5=1';
} elseif ($this->video_service == 1) {
- $url = 'http://www.dailymotion.com/embed/video/' . $this->to;
+ $url = 'https://www.dailymotion.com/embed/video/' . $this->to;
} elseif ($this->video_service == 2) {
$url = '';
} elseif ($this->video_service == 3) {
list($playerId, $videoId) = explode('|', $this->to);
- $url = 'http://link.brightcove.com/services/player/bcpid' . $playerId . '?bctid=' . $videoId . '&autoStart=false&width=100%25&height=100%25';
+ $url = 'https://link.brightcove.com/services/player/bcpid' . $playerId . '?bctid=' . $videoId . '&autoStart=false&width=100%25&height=100%25';
}
return $url;
}