src/ads.js
// Also, some live content can have a duration.
Also, some live content can have a duration.
Also some live content can have a duration .
isLive(somePlayer = player) {
      if (typeof somePlayer.ads.settings.contentIsLive === 'boolean') {
        return somePlayer.ads.settings.contentIsLive;
      } else if (somePlayer.duration() === Infinity) {
        return true;
      } else if (videojs.browser.IOS_VERSION === '8' && somePlayer.duration() === 0) {
        return true;
      }
      return false;
    }
isLive ( somePlayer = player ) { if ( typeof somePlayer . ads . settings . contentIsLive === 'boolean' ) { return somePlayer . ads . settings . contentIsLive ; } else if ( somePlayer . duration ( ) === Infinity ) { return true ; } else if ( videojs . browser . IOS_VERSION === '8' && somePlayer . duration ( ) === 0 ) { return true ; } return false ; }
Also, some live content can have a duration.
Also some live content can have a duration .