public function create($name, $useDuration, $duration, $uri, $mute, $transparency, $playlistId)
    {
        $this->userId = $this->getEntityProvider()->getMe()->getId();
        $this->name = $name;
        $this->useDuration = $useDuration;
        $this->duration = $duration;
        $this->uri = $uri;
        $this->mute = $mute;
        $this->transparency = $transparency;
        $this->playlistId = $playlistId;
        $this->getLogger()->info('Creating HLS widget in playlist ID ' . $playlistId);
        $response = $this->doPost('/playlist/widget/hls/' . $playlistId , $this->toArray());

        return $this->hydrate($response);
    }