Skip to content

Commit

Permalink
Tweak comment
Browse files Browse the repository at this point in the history
  • Loading branch information
misteroneill committed Aug 2, 2018
1 parent 9e87dcd commit de09f8a
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/ads.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,10 +88,8 @@ export default function getAds(player) {

// With no arguments, returns a boolean value indicating whether or not
// contrib-ads is set to treat ads as stitched with content in a single
// stream.
// With an argument, turns stitched ads mode on or off. This is best used
// immediately preceding a source change where the state would change to
// or from stitched ads.
// stream. With arguments, treated as a setter, but this behavior is
// deprecated.
stitchedAds(arg) {
if (arg !== undefined) {
videojs.log.warn('Using player.ads.stitchedAds() as a setter is deprecated.');
Expand Down

0 comments on commit de09f8a

Please sign in to comment.