botframework-sdk icon indicating copy to clipboard operation
botframework-sdk copied to clipboard

[Skype] VideoCard does not play on iOS app

Open nwhitmont opened this issue 9 years ago • 8 comments

Bot Framework VideoCard does not play video on Skype mobile app for iOS.

img_9896

nwhitmont avatar May 05 '17 22:05 nwhitmont

Sample bot used to test Skype mobile: https://github.com/Microsoft/BotBuilder-Samples/tree/master/Node/cards-RichCards

nwhitmont avatar May 05 '17 22:05 nwhitmont

@nickcordrey any updates on this Skype mobile bug?

nwhitmont avatar May 08 '17 18:05 nwhitmont

@nickcordrey Any updates on VideoCard does not play video in Skype mobile iOS?

nwhitmont avatar May 11 '17 23:05 nwhitmont

@nwhitmont The problem seems to be caused by using http url for video. Using http violates Apple’s App Transport Security rules (https://developer.apple.com/news/?id=12212016b). The same thing happens in #2708.

aery-aery avatar May 29 '17 14:05 aery-aery

@aery-aery I updated all my media URLs to https & redeployed the bot, but the video card still doesn't work. You can verify my test bot code here.

nwhitmont avatar May 30 '17 15:05 nwhitmont

@nwhitmont can you describe what do you see when you try to play the video? And can I ask you where your bot is deployed? I've tried to reproduce it with rest api by posting this activity from my bot and it seems to work for me

  "type": "message",
  "attachments": [
    {
      "contentType": "application/vnd.microsoft.card.video",
      "content": {
        "title": "Big Buck Bunny",
        "subtitle": "by the Blender Institute",
        "text": "Big Buck Bunny (code-named Peach) is a short computer-animated comedy film by the Blender Institute, part of the Blender Foundation. Like the foundation's previous film Elephants Dream, the film was made using Blender, a free software application for animation made by the same foundation. It was released as an open-source film under Creative Commons License Attribution 3.0.",
        "image": {
          "url": "https://upload.wikimedia.org/wikipedia/commons/thumb/c/c5/Big_buck_bunny_poster_big.jpg/220px-Big_buck_bunny_poster_big.jpg"
        },
        "media": [
          {
            "url": "https://download.blender.org/peach/bigbuckbunny_movies/BigBuckBunny_320x180.mp4"
          }
        ],
        "buttons": [
          {
            "type": "openUrl",
            "value": "https://peach.blender.org/",
            "title": "Learn More"
          }
        ]
      }
    }
  ]
  }
}```

aery-aery avatar May 31 '17 14:05 aery-aery

@aery-aery I see the triangle with exclamation mark as shown in the image in my original message. My Node.js SDK Bot is hosted on Azure App Service on Linux.

nwhitmont avatar May 31 '17 21:05 nwhitmont

this appears to be fixed in Skype iOS v6.35.0.54

nwhitmont avatar Jun 20 '17 21:06 nwhitmont