Make WordPress Core

Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#28311 closed defect (bug) (worksforme)

Youtube autoembed not working in rtl

Reported by: xFOrCE Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9.1
Component: Embeds Keywords:
Focuses: Cc:
PR Number:


The youtube auto-embed doesnot work if we have
<p dir="RTL">http://www.youtube.com/watch?v=6u-leZ2R0yY</p>

But if we remove the style attribute from the p element it works fine.

Change History (4)

#1 follow-up: @SergeyBiryukov
5 years ago

Two things:

  • Embeds are disabled for that particular video (see the screenshot).
  • Embeds only work on their own line, not inside a <p> tag. This works for me:
    <div dir="rtl">

#2 @SergeyBiryukov
5 years ago

  • Component changed from General to Embeds

#3 @wonderboymusic
5 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to worksforme
  • Status changed from new to closed

Thanks for the report, xFOrCE, but see above.

#4 in reply to: ↑ 1 @SergeyBiryukov
5 years ago

Replying to SergeyBiryukov:

Embeds only work on their own line, not inside a <p> tag.

Related: #25387

Note: See TracTickets for help on using tickets.