Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Version #Description
2.1.0

Pending release...

  • support for VAST error trackers
  • support for DNT
  • support for forcing ad delivery protocol
  • maximum and minimum Ad resolution support
  • maximum and minimum bitrate Ad support
  • additional player controls UI
  • New events
    • onActivity
    • onAd

Bugfixes:

  • State PLAYING not received after SEEKING
  • Edge Incorrect handling for SEEKING status for some videos.
  • Video doesn't pause at starting playback
  • Watch10 request is sent after forwarding the video
  • Player doesn't playback picked video after advertising ends.
  • Memory leaks for advertisements
2.0.4

Bugfixes:

  • API url is not supported in constructor call
2.0.3

Bugfixes:

  • "autoplay" is ignored
  • playerLite memory leaks
  • VAST impression support
2.0.2

Bugfixes:

  • Player does not emit onVolumeChange event during playing ads 
  • Current time is not equal to Duration on video End 
  • Video doesn't pause at starting playback
  • Infinite SEEKING state after advertisement 
  • "autoplay" is ignored

Breaking changes:

  •  please provide source instead of source_id in video object for ads 
2.0.1
  • ad_tag no longer required - configuration kept in ad server
2.0.0
  • Ad handled via decisioning server
  • Unified constructors for Player and PlayerLite version
  • Accept resolution and bitrate parameters within player for ad request
  • [Player] Player can't use ad_tag provided by frequency services if player is loaded over HTTPS

  • [Player] Impossible to change AdsConfiguration for loadVideo method.

  • [Player] Event onProgress is received after state PAUSED

  • [Player] Subtitles are enabled by default on YouTube

Breaking changes:

  • Unified constructor for both versions
  • setSesion method is now asynchronous
  • adConfig object no longer accepts adCuePoints and adTag
  • video object is now compatible with API video object
1.3.7

Fixes:

  • AC-227 Youtube videos are not filling the entire player field of view
  • LG-154 [Player] versioning support when loading from CDN - Base path param
  • AC-212 All videos cease to play
  • LG-157 [Player] youtube video breaks play

 

1.3.6

Fixes:

  • LG-154 - [Player] versioning support when loading from CDN
  • LG-146 - [Player][Android 4.1.2] There is playback in the corner in small size
1.3.5Fixes:
  • Player doesn't save mute state for videos.
  • Edge Incorrect handling for Ended and Seek statuses for some videos. 
  • Player throws incorrect state ENDED (Nexus 7)
  • Duplicated events listeners

Player light build (with mp4 player only)

1.3.4Internal testing
1.3.3Support for different video urls (direct, embed)
1.3.2Offline events, bugfixes.
1.3.0

Fullscreen API, Activity events errors and change session support

1.2.1Possibility to change API url for activities
1.2.0Video activities, poster, bugfixes

1.1.0

 

Volume control functions and bugfixes.
1.0.0This is the first version of the Frequency player that supports VMAP, VPAID, VAST 2.0, VAST 3.0 advertising standards and MP4 and HLS video formats.
  

...

version - current player version

Player

...

Code Block
Frequency.Player.AdsConfig

Ad Fields

Param

Type

Description

adTagUrl

String

VAST document URL

adCuePoints

Number[]

array of cue points (seconds or "preroll", "postroll")

Player Events Class

Code Block
Frequency.Player.Events

The Player Events class defines all the events that listeners can register on.

Event

Type

Description

 

onError

Function

An error occurred.

 

 

onReady

Function

JS player ready for actions.

 

onMediaReady

Function

Media player ready.

 

onStateChange

Function

Player state has changed.

 

onProgress

Function

Players progress changed.

 
onVastEventFunctionVast Ad Event occurred. 
onVolumeChangeFunctionPlayer volume has changed. 
onActivityFunctionActivity call succeeded. 
onActivityErrorFunction

Activity call failed.

 

 
onAdFunctionAd event occured 

Video Playback States

State

Value

Description

UNKNOWN

undefined

Player state is unknown, player setup process did not finished.

UNSTARTED

-1

Player media ready but pending play action.

ENDED

0

Player finished playback.

PLAYING

1

Player is currently playing a video.

PAUSED

2

Player paused.

BUFFERING

3

Player is buffering.

LOCKED

4

Player locked by internal action.

 

SEEKING5Played seeking.
ERROR6Player interface returned error.

...