APIs

Show:

List all resources and allow for user to preview, manage and upload new resources

Constructor

ResourcesListView

() Object

Returns:

Object:

instantiated ResourcesListView

Methods

_listenAutoPopup

()

init HTML5 video.js component

_listenFilterList

()

Listen to keyup to filter resource list

_listenGridList

()

Listen to grid or list format selection

_listenInputChange

()

When user changes text update msdb, we use xSavePlayerData as a json boilerplate that we append values to and save it in msdb as player_data

Returns:

none

_listenRemoveResource

()

Listen to remove resource event

Returns:

none

_listenResourceSelected

()

Listen to resource selection, populate the properties panel and open it if needed.

_onFileSelected

() Number

On selecting new resources through multi-upload from local machine.

Returns:

Number:

-1 on fail or 1 on pass

_populateResourcePreviewCDN

(
  • i_recResource
)

Populate the resource preview with loaded resource file (CDN)

Parameters:

  • i_recResource Object

_populateResourcePreviewLegacy

(
  • i_recResource
)

Populate the resource preview with loaded resource file (none CDN)

Parameters:

  • i_recResource Object

constructor

(
  • options
)

Class constructor

Parameters:

  • options Object

initialize

()

Resource list init

renderView

()

Populate the UI with all resources for the account (i.e.: videos, images, swfs).

Returns:

none

unrenderView

()

Unrender, future support