botframework - How to resolve the issue when I want to show multiple videos in Skype by using bots -
i working on bots project using botframework in using videos displaying in bots , here issue when displaying videos in local it's working , when configuring skype, shows 1 video in skype.
the code this:
private async void trailerslist(idialogcontext context, activity message) { activity replytoconversation = message.createreply("welcome **myapp**." + "(hi)"); replytoconversation.recipient = message.from; replytoconversation.type = "message"; replytoconversation.attachments = new list<attachment>(); dictionary<string, string> cardcontentlist = new dictionary<string, string>(); cardcontentlist.add("jason bourne", ""); cardcontentlist.add("the land", ""); cardcontentlist.add("yoga hosers", ""); foreach (keyvaluepair<string, string> cardcontent in cardcontentlist) { if (cardcontent.key == "jason bourne") { replytoconversation.attachments.add(new attachment() { contenturl= "https://ce5qxa-bn1306.files.1drv.com/y3m9n1skzbrmwstd_ozgbwhsavbzhi5ij025q-w0cy_6chhvm8brmaaws-yx8_mhbmdrsbuix3hhfhnk-netdwtefkbwaiso0pz72xasgzoegaufue6e1vt8n_1aolf0yggcuqckpfhhnkxe4hic5jojffxbs_sn_jgtnwttudvbog/jason%20bourne%20official%20trailer%20%231%20(2016)%20-%20matt%20damon%2c%20alicia%20vikander%20movie%20hd%20(2).mp4", contenttype = "video/mp4", name = "jason bourne" }); } else if (cardcontent.key == "the land") { replytoconversation.attachments.add(new attachment() { contenturl = "https://fk5qxa-bn1306.files.1drv.com/y3munju5javgrsyfquv0vt2tged9t9htb8ott4yhtgfyqvw6l3lztaqi-2udlbcnz9fyximbbwrpi7vfqx5mdksgpkxwyahqzf5fru3h2lia_gfqmvco-u0oz6q1hufxrzjyufki1fs6d8ziil3anoou-urudjcdcoyowticklvp-e/the%20land%20official%20trailer%201%20(2016)%20-%20moises%20arias%2c%20machine%20gun%20kelly%20movie%20hd%20(1).mp4", contenttype = "video/mp4", name = "the land" }); } else if (cardcontent.key == "yoga hosers") { replytoconversation.attachments.add(new attachment() { contenturl = "https://fu5qxa-bn1306.files.1drv.com/y3myzrh1hxvu5zffo2edti35n3tuuce-un-f5larmisda9mmx-q1sod50yn2mpcgngvkgujufmggpi98gjprdhhiqhs3z-zevpxrd2zhus0u1lvdhcst3oaay0tme-7zxfmt1tfonyssjsx4yjp2y1t0ubnvjirvu3ne7oz5yx_d-q/yoga%20hosers%20trailer%20(2016)%20-%20johnny%20depp%2c%20justin%20long%20movie%20hd%20(1).mp4", contenttype = "video/mp4", name = "yoga hosers" }); } } replytoconversation.attachmentlayout = attachmentlayouttypes.list; await context.postasync(replytoconversation); }
when calling in skype, it's getting video below , playing successfully.
Comments
Post a Comment