Class: VideoSourceData


Contains the data passed along with VIDEO_SOURCE_CHANGED. This includes the embed code (video id) and any metadata this video stream needs pass along to other plugins (for example, it could contain ad tag data or analytics account information).


Initialize an instance of the current class using the new keyword along with this constructor.
Name Type Description
embedCode string This is the video stream's unique id
metadata object An object containing metadata about the video stream and player id to be used