SendToNews

SendToNews

Dynamically initiate send to news player

Source:

Methods

(inner) init()

Source:

If position sticky is supported, load send to news player right away. Otherwise, set up in view listener to load the player in view for better user experience on IE as player doesn't stick on IE.

(inner) loadPlayer(event, $player)

Source:

Load the send to news player script.

Parameters:
Name Type Description
event event

in view event, false if function not triggered by in view

$player HTMLElement

player DOM element