broadcastAOSEvent

Broadcast AOS Event

broadcastAOSEvent(detail: object)
Parameters
detail (object)

fullscreenGallery

Full Screen AOS Gallery

fullscreenGallery(playerDiv: String)
Parameters
playerDiv (String = '')

exitFullscreenGallery

Exit Full Screen AOS Gallery

exitFullscreenGallery(playerDiv: String)
Parameters
playerDiv (String = '')

getGalleryComponent

Get Gallery Componenet Element

getGalleryComponent(element: Element): Element
Parameters
element (Element)
Returns
Element:

TagFactory

Factory for creating Tags

new TagFactory(tags: Array)
Parameters
tags (Array)
Instance Members
tagsBelongingTo(parentMedia)

tagview

Class for displaying tags visually

tagview(div: String, tags: Array, interactive: Boolean, shouldFocus: Boolean)
Parameters
div (String) element name to inject
tags (Array) to add to the view
interactive (Boolean = true) whether the view is interactive
shouldFocus (Boolean = false) whether the tag should cause a focus on the parent image

hideToolTip

function to hide tooltip if mobile device change its orientation

hideToolTip()

Library

SDK for AutosOnShow Vehicle Assets

new Library(apiKey: String)
Parameters
apiKey (String) AOS Access Key
Instance Members
vehicle(identifier)

getVehicle

Return a vehicle from AOS containing all assets

getVehicle(identifier: String, authToken: String, buildType: any): Promise
Parameters
identifier (String) Vehicle Identifier (AOS)
authToken (String) Authentication Token for the Request
buildType (any = 'PLAYER')
Returns
Promise: promise Promise contaiting the resulting vehicle

Vehicle

Represents a Vehicle and its asset pack

new Vehicle()
Static Members
getPoster()
getVideoPlaylist()
Instance Members
getTitle()
getDescription()
getThumbnail()
getThumbnailLarge()
getThumbnailPlay()
getLibraryId()
getDateCreated()
getDateModified()
getImages()
getSmallImages()
getMediumImages()
getLargeImages()
hasImages()
getInternalPanorama()
hasInternalPanorama()
getVideo()
hasVideo()
getThreeSixtyImages()
hasThreeSixtyImages()
getExplodedThreeSixtyImages()
hasThreeExplodedSixtyImages()
getAllThreeSixtyImages()
hasPoster()
getTags()
hasTags()
getTopVideo()
getTailVideo()
hasTopVideo()
hasTailVideo()
hasVideoPlaylist()
getVideoOptions()
getGalleryOptions()
getPanoramaOptions()
getSpinnerOptions()
getStartComponent()
getAnalyticsSettings()
hasAnalytics()
hasPersonalVideoRequest()
getPersonalVideoForm()
isPersonalVideo()
getAOSAuthToken()
isValidUrl(url)
getOverview()

fullscreenPanorama

Full Screen AOS Panorama

fullscreenPanorama(playerDiv: String)
Parameters
playerDiv (String = '')

exitFullscreenPanorama

Exit Full Screen AOS Panorama

exitFullscreenPanorama(playerDiv: String)
Parameters
playerDiv (String = '')

getPanoramaComponent

Get Panorama Componenet Element

getPanoramaComponent(element: Element): Element
Parameters
element (Element)
Returns
Element:

fullscreenSpinner

Full Screen AOS Spinner

fullscreenSpinner(playerDiv: String)
Parameters
playerDiv (String = '')

exitFullscreenSpinner

Exit Full Screen AOS Spinner

exitFullscreenSpinner(playerDiv: String)
Parameters
playerDiv (String = '')

getSpinnerComponent

Get Spinner Componenet Element

getSpinnerComponent(element: Element): Element
Parameters
element (Element)
Returns
Element:

fullscreenVideo

Full Screen AOS Video

fullscreenVideo(playerDiv: String)
Parameters
playerDiv (String = '')

exitFullscreenVideo

Exit Full Screen AOS Gallery

exitFullscreenVideo(playerDiv: String)
Parameters
playerDiv (String = '')

getVideoComponent

Get Video Componenet Element

getVideoComponent(element: Element): Element
Parameters
element (Element)
Returns
Element: