/** * returns whether the delivery profile supports the passed deliveryAttributes in this case seekFrom * @param DeliveryProfileDynamicAttributes $deliveryAttributes */ public function supportsDeliveryDynamicAttributes(DeliveryProfileDynamicAttributes $deliveryAttributes) { $result = parent::supportsDeliveryDynamicAttributes($deliveryAttributes); if ($result == self::DYNAMIC_ATTRIBUTES_NO_SUPPORT) { return $result; } // the profile supports seek if it has the {seekFromSec} placeholder in its pattern if ($deliveryAttributes->getSeekFromTime() > 0 && strpos($this->getPattern(), "{seekFromSec}") === false) { return self::DYNAMIC_ATTRIBUTES_PARTIAL_SUPPORT; } return $result; }