question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Play button configuration of Media Config in adaptive host config is not getting used

See original GitHub issue

Platform

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:closed
  • Created 4 years ago
  • Comments:15 (14 by maintainers)

github_iconTop GitHub Comments

1reaction
jwoo-msftcommented, Jun 24, 2019

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.

0reactions
paulcam206commented, Dec 2, 2021

This is not currently on our roadmap, please use the recommended workaround.

Read more comments on GitHub >

github_iconTop Results From Across the Web

HostConfig for Adaptive Cards
HostConfig is a cross-platform configuration object that specifies how an Adaptive Card Renderer generates UI.
Read more >
Settings in XProtect Smart Client - Milestone Documentation
The Settings window lets you control which features and elements, for example, language selection, joystick setup and keyboard shortcut setup, ...
Read more >
How to configure a Submit Action for an Adaptive Form
If no Configuration Container is selected, then the global Storage Configuration folders appear in the Submit Action properties window.
Read more >
Creating responsive and adaptive apps
Adaptive and responsive can be viewed as separate dimensions of an app: you can have an adaptive app that is not responsive, or...
Read more >
Adaptive icons
Adaptive icons are primarily used by the launcher on the homescreen, but can also be used in shortcuts, the Settings app, sharing dialogs,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found