Make WordPress Core

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#28311 closed defect (bug) (worksforme)

Youtube autoembed not working in rtl

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

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
12 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
12 years ago

  • Component General → Embeds

#3 @wonderboymusic
12 years ago

  • Milestone Awaiting Review
  • Resolution → worksforme
  • Status new → closed

Thanks for the report, xFOrCE, but see above.

#4 in reply to: ↑ 1 @SergeyBiryukov
12 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.