quiz_master_next icon indicating copy to clipboard operation
quiz_master_next copied to clipboard

Can't add video anymore

Open johanna52 opened this issue 7 years ago • 3 comments

After the 5.0 update it is impossible to add videos to a quiz anymore. When you click on save with a question, the video isn't added. Also when you change a question with a video already in it, the video isn't displayed anymore. Hopefully this can be solved.

Johanna

johanna52 avatar May 12 '17 07:05 johanna52

I've spent a bit of time trying to figure this out. First, the shortcode function to run the [embed] code doesn't work outside of the post loop. (WordPress Trac Issue). Some of the workarounds are possible but could cause significant slowdowns depending on how the other plugins on the site are using the filters since this has to run for every single question. Some sites have 100+ questions in a quiz.

On the opposite end, the plugin is also having trouble with dropping in iframes. With the latest round of security additions, we are using kses to prevent a variety of elements from being used. Apparently, the default kses for posts disallows iframes such as YouTube embed. Looking into alternatives here as well.

fpcorso avatar Jun 18 '17 18:06 fpcorso

Hey @fpcorso, any update on this at all?

ELepolt avatar Feb 16 '18 20:02 ELepolt

Work around found...please follow the steps below: ​

  • ​In the question editor click the "Add Media" button
  • Under the header "Create Video Playlist" click the "Upload Files" tab
  • Upload the video (the max file size will be displayed under the "select file" button)
  • To the bottom right you will have a dropdown menu, choose the "embed media player" option -The video will now be in the question

sriordan9 avatar Jul 13 '18 19:07 sriordan9