I'm trying to setup a video skill for alexa, however I don't know how to play a video using the video api.
I've tried searching "alexa skill python video api" but I just get links to alexa skills kit. I've also tried reading the python sdk documentation but that didn't help. It seems like you have to send a directive or something.
Currently I have
class PlayHandler(AbstractRequestHandler):
def can_handle(self, handler_input):
return is_intent_name("PlayVidIntent")(handler_input)
def handle(self, handler_input):
speech_text = "Playing video"
# Get the video url
handler_input.response_builder.speak(speech_text).set_card(SimpleCard("Video started", speech_text)).set_should_end_session(True)
return handler_input.response_builder.response
Note: When I checked the documentation it said you had to have the video url so just assume the video url is in a variable called video_url. More details: Custom Skill(No video app template or Interaction model template for video skill) Python 3.4(For server) and Python 3.5(For testing)