Opened 10 years ago
Closed 10 years ago
#29825 closed defect (bug) (fixed)
text or tags within of video shortcode causes editor preview to autoplay
Reported by: | jwenerd | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.0.1 | Priority: | normal |
Severity: | normal | Version: | 3.6 |
Component: | Media | Keywords: | fixed-major |
Focuses: | Cc: |
Description
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.
wonderboymusic - can you take a look?