Model/SpriteService.php
public function getSpriteWebvttForEpisode($episode, $player_type = "jwplayer")
    {
        $this->calculateInterval($episode);
        switch ($player_type) {
            case 'jwplayer':
                return $this->getSpriteWebvttForJwPlayer($episode);
                break;

            default:
                return $this->getSpriteWebvttForJwPlayer($episode);
                break;
        }
    }
public function getSpriteWebvttForEpisode($episode, $player_type = "jwplayer")
    {
        $this->calculateInterval($episode);
        switch ($player_type) {
            case 'jwplayer':
                return $this->getSpriteWebvttForJwPlayer($episode);
                break;

            default:
                return $this->getSpriteWebvttForJwPlayer($episode);
                break;
        }
    }
public function getSpriteWebvttForEpisode ( $ episode , $ player_type = "jwplayer" ) { $ this -> calculateInterval ( $ episode ) ; switch ( $ player_type ) { case 'jwplayer' : return $ this -> getSpriteWebvttForJwPlayer ( $ episode ) ; break ; default : return $ this -> getSpriteWebvttForJwPlayer ( $ episode ) ; break ; } }
returns webvtt formated string for webplayers to display thumbnails
returns webvtt formated string for webplayers to display thumbnails