Playing video using rich text editor | Community
Skip to main content
Level 3
Jul 13, 2017 11:32 AM UTC
Solved

Playing video using rich text editor

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.
Techaspect_Solu
Techaspect_SoluAccepted solution
Level 7
Jul 13, 2017 12:50 PM UTC

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

jessielouthan
Level 3
Jul 20, 2017 10:16 PM UTC

Hi Scott,

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

Translate
smacdonald2008
Level 10
Jul 13, 2017 4:51 PM UTC

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

Translate
Techaspect_Solu
Techaspect_SoluAccepted solution
Level 7
Jul 13, 2017 12:50 PM UTC

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.

Translate