Bixby Developer Center

References

video

optionalmultiple allowedvalue optional

Display a video player component.

If a poster image is specified, it will be shown in place of the video until the video starts to play.

You can test video on various devices in the Simulator with the Bixby Views Sample Capsule.

Interactive Demo

Child Keys

autoplay
optional
Specify whether a video autoplays
loop
optional
Specify whether a video loops after it plays
poster
optional
Specify a poster image file by URL
url
optional
Specify a video file to play by URL
vimeo
optional
Embed a video from Vimeo
youtube
optional
Embed a video from YouTube

Example

result-view {
match {
Video (this)
}

message ("Here is a sample video:")

render {
layout {
section {
content {
video {
url ("#{value(this)}")
}
}
}
}
}
}

View master on GitHub

Supported Video Formats

  • MPEG-4 (.mp4)
  • WEBM (.webm)
  • AVI (.avi)
  • Theora or H.264 in Ogg container (.ogg)

There is no enforced restriction on video resolution, but 480p or 360p resolutions are recommended (840×480 or 640×360 in a 16:9 aspect ratio).