Bodi

Video Player (JavaScript Functions)

All JavaScript based functions for the Bodi video player will be documented here.


Pause Video Player


Usage

    togglePause()

Un-Pause Video Player


Usage

     togglePlay() 

Stop Video Player


Clears all items from playlist / in queue.

Usage

            Stop_Player()        

Change Video Source


Params (Video Source, Video Title, Video Genre, )

Usage

 ChangeVideoSource('http://commondatastorage.googleapis.com/gtv-videos-bucket/sample/VolkswagenGTIReview.mp4', 'Video Title Example','Video Genre')

Update Video Card Info


This function should be called when changing video / music source.

Params (Video Card Image, Short Description, Long Description)

Usage

  UpdateVideoCardInfo('https://m.media-amazon.com/images/M/MV5BMTczMDg2MzkwNl5BMl5BanBnXkFtZTcwNTY0MTM0MQ@@._V1_.jpg', 'Trailer Park Boys: The Movie','The Movie Description Goes Here!')