You need to sign in to do that
Don't have an account?
Gayathri 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?
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?
Have you gone through this article : http://sfdcmonkey.com/2017/06/06/play-youtube-video-lightning-component/ ?
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.