Bixby Developer Center

Video Player

The example.videoplayer sample capsule demonstrates how to use the video player component in your capsule:

  render {
layout {
section {
content {
video {
vimeo {
video-id(525722068)
}
autoplay (true)
}
}
}
}
}

View c842297 on GitHub

You can test this sample capsule in the Simulator using the following utterances:

  • "play video": play a video from Vimeo
  • "play loop": play a video from YouTube on a loop

Download Capsule

Note

Because you cannot submit a capsule with the example namespace, in order to test a sample capsule on a device, you must change the id in the capsule.bxb file from example to your organization's namespace before making a private submission.

For example, if your namespace is acme, change example.videoplayer to acme.videoplayer.