Playing video using rich text editor | Community
Skip to main content
July 13, 2017
Solved

Playing video using rich text editor

  • July 13, 2017
  • 3 replies
  • 1608 views

Hi,

I have a requirement. where user has to author the link for videos using rich text and that should be played in the same page.

Ex: external site videos : You tube videos.

If author has authored you tube video link . then that should also be played in the same page. but it is opening in the new page even I gave the target as _self.

Any one can help on this.

Thank you in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Techaspect_Solu

Hi Vijaya,

You can use below code snippet as a reference in source edit of the RTE.

<p>Open link in a same window or tab: <a href="https://www.youtube.com/watch?v=X8SCBUgv2TE" target="_self">Adobe Experience Manager Explained</a></p>

Also you can refer to the Adobe post for more details on RTE.

Thanks,

Techaspect Solutions.

3 replies

Techaspect_Solu
Techaspect_SoluAccepted solution
July 13, 2017

Hi Vijaya,

You can use below code snippet as a reference in source edit of the RTE.

<p>Open link in a same window or tab: <a href="https://www.youtube.com/watch?v=X8SCBUgv2TE" target="_self">Adobe Experience Manager Explained</a></p>

Also you can refer to the Adobe post for more details on RTE.

Thanks,

Techaspect Solutions.

smacdonald2008
July 13, 2017

A RTE is typically to edit text and the text is then displayed on a page. If you want to render a video in your site, you should use a video component. We are going to release a new video component article soon:

Scott's Digital Community: Creating an Experience Manager YouTube Component

jessielouthan
July 20, 2017

Hi Scott,

What if the requirement calls for a video player other than YouTube (re: Brightcove)?