I am playing with adaptive cards, using sample JSON from http://adaptivecards.io/samples (restaurant sample). The card renders fine within the emulator. It is shrunk in Facebook (known to be not supported at this point), but in Skype, no card displayed, and when I check the bot dashboard, I have a warning for "Unknown attachment type"
I was under the impression that adaptive cards were supported on Skype, or is this because it is UWP Skype application?
I think adaptive cards are not supported yet on skype, see here
Related
Can anyone explain the scenario where we can resize the button in adaptive
cards. In the adaptivecards.io itself?
Yes, we can resize the button in Adaptive Cards. However, it also depends on where you are trying to display the cards. In Adaptive Cards, hosts like Outlook, Microsoft Teams, and Bot Framework control the size and alignment of buttons. Card authors (people sending cards to these hosts) do not get to control button size and alignment.This is done to ensure that cards rendered on a host always look and feel consistent.
If you're a host, hosting cards in your own website/app, then you can use the host config to control button styles. If you are using Bot Framework SDK, you will have to assign a Host Config in their SDK, as the SDK is rendering the cards. This Host Config would apply to all cards that get rendered within your web page's bot.
This is a sample that shows how to integrate host config in the bot solution.
Attached is the GitHub issue related to the same from which the above information is extracted.
Hope this helps!!
I am working on a project where by we are hosting and streaming video through Azure Media Service.
There is a particular video we have positioned as the hero background upon entry to the site. On desktop the video auto-play's and streams just fine but on mobile it does not autoplay at all. It simply showcases the preview image.
I'd love to be able to paste a link to the site but unfortunately due to the confidentiality of the project I am not able to. However, if there is something in particular you'd like me to post to help support the question please let me know.
The web-app is build using Angular.
Does anyone know how to fix this problem? or can point me in the right direction?
Check with the browser platform you are targeting on the mobile applications. Most mobile browsers have disabled autoplay. User MUST now initiate all playback actions.
Since the release of iOS 10 Apple has allowed muted video autoplay: https://webkit.org/blog/6784/new-video-policies-for-ios/
Chrome 53 on Android also allowing muted video autoplay: https://developers.google.com/web/updates/2016/07/autoplay
I am trying to embed our bot in a customer's IE11 :( We have our own embed but we are facing that Cross Origin Request is not supported. I am even willing to just embed the standard Microsoft in page embed (that chat box with a blue top border) but users need to say something with that embed first before bot starts opening sentence..
So my questions are:
Are there any workarounds?
Is there any working web embed that I just can reuse and plug my directline into?
Is there a way to have this default microsoft embed startup the opening sentence automatically on loading?
We have Azure Bot Service implemented with Skye for Business as Channel. As part of response display, we have requirement to format the text like bold and display data in tables.
The formatting is working fine in when users are using bot in Desktop version of Skype for Business. In mobile version of Skype for Business, the format is not displaying properly instead displaying HTML tags used to format the text.
Is there any way we can identify device type using by the user i.e. mobile or desktop version? So that we can have conditional format of the text and display only plain text responses if users are chatting using mobile version of Skype for business.
Thank you in advance.
I have tested the Microsoft QnA Bot with a positive restult. Everything works fine as expected. I can see next to a message the name of the sending entity. Next to the message I was expecting to see an image, however in my case I do not see it.
I have uploaded an icon on my service on https://qnamaker.ai/
I have also uploaded one on the https://dev.botframework.com/
Uploading the icons I was aware of the size 50px x 50px.
On the test on dev.botframework.com/ the icon was also not displayed.
I havent found any other suitable answer online.
Does anyone have a recommendation?
Thanks a lot!
The reason you are not seeing the bot icon is because the webchat module on the Bot Portal at https://dev.botframework.com does not support bot icon images.
Some channels do support it such as Skype or Slack. Try testing your bot on Skype, you will see the bot icon image there.