[wp-trac] [WordPress Trac] #29825: text or tags within of video shortcode causes editor preview to autoplay
WordPress Trac
noreply at wordpress.org
Thu Oct 2 01:48:22 UTC 2014
#29825: text or tags within of video shortcode causes editor preview to autoplay
----------------------------+-----------------------------
Reporter: jwenerd | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: trunk
Severity: normal | Keywords:
Focuses: administration |
----------------------------+-----------------------------
I've run into a regular occurrence where the videos previews in the visual
post editor begin to autoplay. Each time it only occurs with when the
track tag is added within the [video] shortcode.
This was done on latest truck in latest Chrome with no plugins.
Steps reproduce: Add a video into the visual post editor, then in the
editor click the edit button appearing over the video preview, click add
subtitles and upload or select a srt file then press "Add Subtitles",
then click Update, switch the editor from into visual mode, (at this point
the text looks like this http://cl.ly/image/3Q3M0l1p1V2H ), toggle back
into visual editor and then the video begins to autoplay.
I noticed the lack of spacing between the kind and label attribute; I
added the space and it still caused the preview to autoplay. Then I tried
adding any text between the video shortcode and it still caused the video
to autoplay. So it must be any text within the shortcode causing the text
to autoplay when rendering the preview.
I've also run into this issue when adding updating subtitles to a video.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29825>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list