Support » Plugin: Switch Video Quality » Not working in Albums

  • Resolved Neolo7

    (@neolo7)


    In Album post type there is simply nothing showing up, regardless of what I set in plugin settings. Where I suppose to get quality controls? Default player shows up without any changes.

    • This topic was modified 1 year, 5 months ago by Neolo7.

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Control shows up only if video added via “Content Body”, but it does NOT work if video attached to the album via “Album Media – Add/Upload” menu.

    Plugin Author team-ok

    (@team-ok)

    Hi,

    what do you mean by “album post type”? Is it a custom post type created by another plugin?
    Can you please provide some more details about your WP configuration (Gutenberg or classic editor, WP version, other plugins)?

    Looks like it’s a default WP functionality. Could be also a Theme.
    /wp-admin/edit.php?post_type=album
    Simply creates a set of media displayed on the page, by choosing from media Library or Uploading. Content box can be empty. That’s where your plugin does nothing. So I had to remove video from media set and insert it in the content box. Looks a bit ugly, but this is the only way to get plugin work.

    *Updated first post here with a link to hide it

    Last WP version and default editor. Only theme is a photographer theme, it may be reason why I have Albums.

    • This reply was modified 1 year, 5 months ago by Neolo7.
    • This reply was modified 1 year, 5 months ago by Neolo7.
    Plugin Author team-ok

    (@team-ok)

    WordPress doesn’t have a default album post type.
    It’s created by your theme:
    https://themeforest.net/item/photon-fullscreen-photography-wordpress-theme/11543656

    Sorry, but I can’t reproduce errors that are related to commercial themes.

    But you can easily improve the look of the player in your album with a little css by removing the padding of this selector: .album-content .inside.

    There’s also an empty p tag below the video that creates extra space and should be removed.

    So it may look like this:
    https://imgur.com/a/BmHLDLH

    I see, thank you for help.
    I’ve expected the plugin to intercept internal player regardless of what uses it (commercial theme or content editor etc)

    Plugin Author team-ok

    (@team-ok)

    You’re right to expect that, but only if your theme uses the default wp way of embedding videos in your page. If it is providing custom functionality related to video or the way media is embedded, there’s a possibility of conflict. And I can’t debug or see where this conflict is coming from if it’s a commercial theme.

    Removing padding from .album-content .inside. does not stretch the video thumbnail. It just moved it to the top left corner.

    • This reply was modified 1 year, 5 months ago by Neolo7.
    Plugin Author team-ok

    (@team-ok)

    This happens when you remove the padding in Dev tools of your browser. You need to resize the browser window afterwards, as the width of the video player is calculated by JavaScript on resize.
    When there’s no padding on page load, the width should be calculated correctly.

    But anyways this is all related to your theme, so I’m afraid I can’t do anything more to it.

    Got it, thank you for your help, now it looks great.

    • This reply was modified 1 year, 5 months ago by Neolo7.
Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Not working in Albums’ is closed to new replies.