function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Gayathri Palakshigari 7Gayathri Palakshigari 7 

Trouble to display the richtext content using lightning:formattedrichtext or with aura:unescapedhtml

Unable to display richtext(Iframe video embedded) field of an object.

Tried by using the two items from the library: <lightning:formattedrichtext> and <aura:unescapedhtml>

1.<lightning:formattedrichtext>, it shows the html content correctly and it also displays the video but unable to expand the video in fullscreen .
2. <aura:unescapedhtml>, with this tag, video is working as expected even fullscreen expansion also working but html tags are not showing correctly. (Ex: for h1,h2 and h3 tags, content size is same)

Any suggession to display both html content along with the video(should be able to expand in full screen) correctly?  
AkshaySFDCAkshaySFDC
Hi Gayathri,

Have you gone through this article : http://sfdcmonkey.com/2017/06/06/play-youtube-video-lightning-component/ ?
Gayathri Palakshigari 7Gayathri Palakshigari 7
Hi Akshay,

Thank you for your response.
Yes, 've gone through it but unfortunately it is different from what we are looking for. We've embedded video in Richtext field and displaying that field in the lightning component.
User-added image