Support » Plugin: Video Embed & Thumbnail Generator » Resolutions order in switcher

  • Resolved lestra

    (@lestra)


    Hi. I have 3 videos: 720p, 480p and 360p. In res. switcher they now looks like this

    480
    360
    full

    Is it possible to reorder them to like like this

    720 (or full)
    480
    360
    ?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Kyle Gilman

    (@kylegilman)

    Which video player are you using? Video.js or WordPress Default? Can you post a link to a live page (not a screenshot) that demonstrates the problem?

    lestra

    (@lestra)

    Video.js

    http://bracabajic.com/prica-o-braci-bajic/

    • This reply was modified 4 months ago by  lestra.
    Plugin Author Kyle Gilman

    (@kylegilman)

    This is why I always ask for live pages. I assumed this was just a sorting problem, but I think you’re getting this “full” entry instead of 720p because the plugin is confused by the naming structure of your videos. The first period in “1.filename.mp4” system messes with some basic PHP functions I rely on to figure out filenames. I’m going to work on fixing that for the next version. I created an issue on Github so you can track my progress. If you can’t wait, you can rename the videos so the only period in the filename is before the extension.

    Plugin Author Kyle Gilman

    (@kylegilman)

    I think I was wrong about the period in the filename causing problems. I was unable to cause any trouble with extra periods in filenames in my testing. But in todays 4.6.25 update I moved the “Full” entry to the top of the resolution list and once the video’s actual dimensions are available in the browser the “Full” entry will be renamed to the number of the video resolution.

Viewing 4 replies - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.