• Hello if I need to play video in lightbox, the other plugins works usually with shortcodes. How I will combine? Also how it works in archivew page?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter nikmanolis

    (@nikmanolis)

    none

    • This reply was modified 4 years, 7 months ago by nikmanolis.
    Plugin Author CodeFlavors

    (@codeflavors)

    Hi,

    After you successfully query a video from a post edit screen, a couple of options will be displayed and you can choose how that video will be embedded. To open it into a lightbox choose to embed by shortcode button and copy the shortcode into the post content where you wan to display it.

    See this for more details: https://prnt.sc/p1kvch

    Thread Starter nikmanolis

    (@nikmanolis)

    Hi

    Thank you for your reply

    In my research the shortcode options seems to handle the position only of the video. Do not popup a lightbox. And in this case, if I need another plugin for lightbox, then what with shortcodes?

    ANother question is about the ‘replace featured image’ option, which in this case the video disappears both in archive and signle post pages

    Plugin Author CodeFlavors

    (@codeflavors)

    Hi,

    The button shortcode should open a modal window with the video embed. If you can direct me to a URL where I can see this I might be able to help you debug this issue.

    The option to replace the featured image will work only if your theme uses the default functions in WP to display the featured image, in which case the plugin can hook to the appropriate filters and replace the image. Otherwise, this feature won’t work.

    Thread Starter nikmanolis

    (@nikmanolis)

    Hello

    Thank you for your reply.

    I understand what is the problem with featured image. I use Genesis theme. In my opinion, it will be wiser and easier to let me be guided to change the functions names in plugin, in order to avoid any other future confliciton with other theme’s operations.

    I work on localhost for the url. Perhaps it is a matter of theme. Any other chances?

    • This reply was modified 4 years, 7 months ago by nikmanolis.
    • This reply was modified 4 years, 7 months ago by nikmanolis.
    Plugin Author CodeFlavors

    (@codeflavors)

    Hi,

    Regarding the featured image, there’s no function name conflict with theme Genesis or any other code that isn’t compatible. This is about how your theme displays the featured image, most likely it uses custom code that doesn’t implement any of WordPress’s filters and the plugin can’t hook to the filters to replace the featured image with the video embed.

    As for the modal, I really can’t say what could be happening. Can you take a look in Chrome console and see if any JavaScript errors are issued?

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘adding lightbox’ is closed to new replies.