Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#28311 closed defect (bug) (worksforme)

Youtube autoembed not working in rtl

Reported by: xforce's profile xFOrCE Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9.1
Component: Embeds Keywords:
Focuses: Cc:

Description

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
10 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">
    http://www.youtube.com/watch?v=dQw4w9WgXcQ
    </div>
    

#2 @SergeyBiryukov
10 years ago

  • Component changed from General to Embeds

#3 @wonderboymusic
10 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
10 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.