Skip to content

Instantly share code, notes, and snippets.

@lfreeland
Last active March 18, 2018 23:48
Show Gist options
  • Select an option

  • Save lfreeland/693d4922ea480b295c072de56a8c308b to your computer and use it in GitHub Desktop.

Select an option

Save lfreeland/693d4922ea480b295c072de56a8c308b to your computer and use it in GitHub Desktop.
Lightning Record Video Viewer Component Designer
<design:component >
<design:attribute name="videoField" label="Video Field" description="The api name of the field from the given object that has the video's source URL." />
<design:attribute name="videoHeight" label="Video Height" description="The height for the video. Any CSS value is acceptable." default="400px" />
<design:attribute name="videoWidth" label="Video Width" description="The width for the video. Any CSS value is acceptable." default="100%" />
</design:component>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment