Skip to main content

Bomb Bomb Service

The Bomb Bomb Service helps to integrate with the Bomb Bomb Video service

Methods​

openBombBombVideoModal(callback)​

Description​

Opens the BombBomb video modal client where you can record, upload, or select a video from your BombBomb account.

Return Value: Object​

  • Returns a Bomb Bomb video object.

Options:​

  • callback invoked when a Bomb Bomb Video is chosen, getting passed a Bomb Bomb Video object.

Code Example​

    digideckCore.bombBombService.openBombBombVideoModal(bombBombVideoObject => {
// bombBombVideoObject structure
{
id: String, // unique id of the video
title: String, // title of the video
thumbnail: String, // url of the video thumbnail
link: String, // url of the BombBomb Video
source: String, // url of the BombBomb Video
height: Number, // height of the video in pixels,
width: Number, // width of the video in pixels,
ratio: Number // the video height divided by the video width
}
});