Botframework-webchat: Bot Framework Emulator - Audio card -image is not displaying.

Created on 19 Jul 2020  路  12Comments  路  Source: microsoft/BotFramework-WebChat

Version

4.9.0

Describe the bug

Audio card -image is not displaying.

Steps to reproduce

Try the Audio Card sample with image.

Expected behavior

Image should be display

Screenshots

image

DLJS Bot Services Bug ExemptFromDailyDRIReport P1 backlog blocked customer-replied-to customer-reported front-burner

Most helpful comment

@tonyanziano Not quite. If Web Chat receives an Audio Card with an image, it will render the poster correctly. However, if the bot sends an Audio Card with an image and it is sent through DirectLine, DirectLine will remove the image. Web Chat/DirectLineJs and the Emulator current exhibit the same behavior.

Additional Context

https://github.com/microsoft/BotFramework-WebChat/blob/1559ab52158e1b3d0e523d1c2b8b66c462e0494c/packages/bundle/src/adaptiveCards/Attachment/AudioCardContent.js#L21

All 12 comments

Thank you for the report, @rvinothrajendran

Would you kindly link to the sample you're referring to, and provide some code that reproduces the issue?

@compulim - I have confirmed that audio card images do not render in Web Chat or Emulator, and it's not because of the SVG. JPG images also do not render. (This has nothing to do with the bot being written in Python, of course.) I will transfer this to you.

@compulim : Any updates?

@compulim are you able to take a look into this one?

I believe this is a feature we missed.

@v-kydela Web Chat is equipped to handle Audio Cards with images; however, DirectLineJs is not. https://github.com/microsoft/BotFramework-DirectLineJS/issues/180

So to clarify, @tdurnford, Web Chat currently supports this with Bots connected via DirectLine?

If that's the case, there's basically a lack of parity here between Emulator and Web Chat and the ask would be to implement images with audio cards in the Emulator?

@tonyanziano Not quite. If Web Chat receives an Audio Card with an image, it will render the poster correctly. However, if the bot sends an Audio Card with an image and it is sent through DirectLine, DirectLine will remove the image. Web Chat/DirectLineJs and the Emulator current exhibit the same behavior.

Additional Context

https://github.com/microsoft/BotFramework-WebChat/blob/1559ab52158e1b3d0e523d1c2b8b66c462e0494c/packages/bundle/src/adaptiveCards/Attachment/AudioCardContent.js#L21

I believe this is blocked by https://github.com/microsoft/BotFramework-DirectLineJS/issues/180, confirm?
Mark DLJS issue as bug?
Assigning to @Kaiqb for visibility

@compulim I see that https://github.com/microsoft/BotFramework-DirectLineJS/issues/255 is scheduled to ship on R13. ASsuming that is the case, would this be also addressed in R13?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

corinagum picture corinagum  路  3Comments

adriantan08 picture adriantan08  路  3Comments

compulim picture compulim  路  3Comments

compulim picture compulim  路  3Comments

mmalaiarasan-conga picture mmalaiarasan-conga  路  3Comments