-
Notifications
You must be signed in to change notification settings - Fork 42
Video service
ibmdotcom-bot edited this page Feb 2, 2022
·
13 revisions
Core
Service
The Video service intakes a Kaltura player r1 videoId
and fetches the video's' associated meta data from Kaltura Media Center.
Back links (15)
CTA (9)
- video type CTA uses the Video service to populate the CTA
2.1.2
|video.id && copy
| pre-filled by Video service'sname
if not defined.2.2.2
|video.id && copy
| pre-filled by Video service'sname
if not defined.- ...
2.3.2
|video.id && heading
| pre-filled by Video service'sname
if not defined or explicitly set to... - ...
2.3.4
|video.id && cta copy
| pre-filled by Video service'sduration
if not defined or explicitly set to... - ...
2.4.2
|video.id && heading
| pre-filled by Video service'sname
if not defined.... - ...
2.4.4
|video.id && cta copy
| pre-filled by Video service'sduration
if not explicitly set tofalse
.... - ...
2.5.2
|video.id && heading
| pre-filled by Video service'sname
if not defined.... - ...
2.5.4
|video.id && cta copy
| pre-filled by Video service'sduration
if not explicitly set tofalse
....
- ...
ID
| If a VideoID
is provided use the Video service to get Video data and render - ...(default)
|
headingis pre-filled by ***Video service***'s
name` if provided. - ...(default)
|
copyhere is pre-filled by ***Video service***'s
description` if provided.
Video (3)
- the Video service except video
- ...|
undefined (default)
| Caption prefilled by Video service's provided name. - ...2 prefilled by Video service's provided image.
Embeds the video player on the page where adopter chooses.
name | description | |
---|---|---|
1.1.1 |
videoId |
The Kaltura r1 video id. |
1.1.2 |
target |
ID of HTML element placeholder. |
1.1.3 |
overrides |
Offers the ability to override any of the video options. |
See Kaltura API r1 for what options are available.
name | description | |
---|---|---|
1.2.1 |
play |
Records event in Google analytics (GA) when video starts playing. |
1.2.2 |
pause |
Records event in GA when video is paused. |
1.2.3 |
end |
Records event in GA when video is over. |
Allows the adopter to get the raw video data from the Kaltura API r1.
name | description | |
---|---|---|
2.1.1 |
videoId |
The Kaltura r1 video id. |
See Kaltura API r1 for more information on what data is returned.
Provides the adopter the ability to retrieve a poster image at a specific size for any valid video.
name | description | |
---|---|---|
3.1.1 |
videoId |
The Kaltura r1 video id. |
3.1.2 |
width |
The desired poster image width. |
3.1.3 |
height |
The desired poster image height. |
https://cdnsecakmi.kaltura.com/p/1773841/thumbnail/entry_id/1_9h94wo6b/width/320
The format duration method takes in a duration in either milliseconds or
seconds, and formats it to hh:mm:ss
or 01:25:49
.
name | description | |
---|---|---|
4.0.1 |
duration | Duration in seconds or milliseconds |
Publishing guidelines (6)
Layout component (37)
- CTA block
- CTA section
- Callout media
- Callout quote
- Callout
- Card group
- Card section carousel
- Card section images
- Card section offset
- Card section simple
- Card section
- Content block cards
- Content block horizontal
- Content block media
- Content block mixed groups
- Content block segmented
- Content block simple
- Content block
- Content group banner
- Content group cards
- Content group pictograms
- Content group simple
- Content group
- Content item horizontal
- Content item
- Content section
- Dotcom shell
- Feature section
- Lead space block
- Lead space search
- Lead space
- Link list section
- Logo grid
- Table of contents
- Tabs extended media
- Tabs extended
- Universal banner
Service (3)
UI component (34)
- Back to top
- Background media
- Button group
- CTA
- Card in card
- Card link
- Card
- Carousel
- Expressive modal
- Feature card
- Filter group
- Filter panel
- Footer
- Image with caption
- Image
- Input select
- Leaving ibm
- Lightbox media viewer
- Link list
- Link with icon
- Locale modal
- Masthead L0
- Masthead L1
- Masthead account
- Masthead mobile
- Masthead navigation
- Masthead
- Mega menu
- Pictogram item
- Quote
- Search typeahead
- Tag group
- Tag link
- Video