Play button configuration of Media Config in adaptive host config is not getting used
See original GitHub issuePlatform
What platform is your issue or question related to? (Delete other platforms).
- Android
- iOS
- JavaScript
Author or host
Are you an author (like sending something to Outlook), or a host that is rendering your own cards? The host is rendering own cards
If you’re an author, who are you sending cards to?
Version of SDK
We are using 1.1.3 of adaptive cards
What version are you using? Ex: NuGet 1.0.2, or latest master, etc…
npm latest
Issue
We are trying to use adaptive card host config to put the playbutton image for our video cards. We had given the configuration as following
media:{
playbutton: <some external url>
}
However, even after giving this the card doesn’t display the playbutton as we specified.
When I looked at following code https://github.com/microsoft/AdaptiveCards/blob/master/source/nodejs/adaptivecards/src/host-config.ts
I found that the constructor is not even taking playbutton as input.
Is it a bug? Can you please let us know what needs to be done here.
Explain your issue. If you just have a question, please post on StackOverflow instead.
Issue Analytics
- State:
- Created 4 years ago
- Comments:15 (14 by maintainers)
Top GitHub Comments
on iOS, I found a regression. iOS renderer do use play icon from host config, but the regression caused not to remove default play icon. So two icon will get overlapped, and it appeared that the icon from host config not being used.
This is not currently on our roadmap, please use the recommended workaround.