Example #1
0
 protected function doGetFlavorAssetUrl(flavorAsset $flavorAsset)
 {
     $url = parent::doGetFlavorAssetUrl($flavorAsset);
     $url .= '/forceproxy/true';
     $url = $this->formatByExtension($url);
     return $url;
 }
 protected function doGetFlavorAssetUrl(flavorAsset $flavorAsset)
 {
     $url = parent::doGetFlavorAssetUrl($flavorAsset);
     $host = preg_replace("(https?://)", "", $this->getUrl());
     $url = "http://" . $host . $url . '/forceproxy/true';
     return $url;
 }
 protected function doGetFlavorAssetUrl(flavorAsset $flavorAsset)
 {
     $url = parent::doGetFlavorAssetUrl($flavorAsset);
     $host = preg_replace("(https?://)", "", $this->getUrl());
     $url = "http://" . $host . $url . '/forceproxy/true';
     if ($this->params->getFileExtension()) {
         $url .= "/name/a." . $this->params->getFileExtension();
     }
     return $url;
 }
Example #4
0
 protected function doGetFlavorAssetUrl(flavorAsset $flavorAsset)
 {
     $url = parent::doGetFlavorAssetUrl($flavorAsset);
     if ($this->params->getFileExtension()) {
         $url .= "/name/a." . $this->params->getFileExtension();
     }
     if ($this->params->getSeekFromTime() > 0) {
         $url .= "/seekFrom/" . $this->params->getSeekFromTime();
     }
     return $url;
 }
 protected function doGetFlavorAssetUrl(flavorAsset $flavorAsset)
 {
     $url = parent::doGetFlavorAssetUrl($flavorAsset);
     $url .= "/file/playlist.m3u8";
     return $url;
 }