• Resolved andyt1980

    (@andyt1980)


    Hi,
    Is there a way of adding a Youtube embed to a package and then have that video playable on the listings page?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hello @andyt1980,
    Thank you for your query.
    Yes, you can embed a youtube video in a package and make it playable by using the below shortcode. But first, add the youtube video by following this.
    [youtube_player]
    Also, if you want to customize the template based on your need, please follow this as well.
    Thanks

    Thread Starter andyt1980

    (@andyt1980)

    Thanks for this, also is there any way to show the video player on the archive/listings page?

    Hi @andyt1980,
    With the PRO version of WPDM, you can achieve your above-mentioned functionality by using the same shortcode and link-template customization procedure which is given below.

    By default, you are using link-template-default.php for link template and page-template-default.php for the page template. As documentation, you have to copy the file in the theme directory naming a folder called download-manager, then paste it in page-templates for page template or link-templates for link template. And you have to add [youtube_player] in the related PHP file.

    In the PRO version, you can use the if condition with PHP code inside a PHP link-template which will conditionally render video only for files that have embedded youtube video.
    Hope you understand.
    Thanks

    Thread Starter andyt1980

    (@andyt1980)

    Would it be possible to have the download button open a pop-up with the video in it instead?.

    Hello @andyt1980,
    Unfortunately, the requested feature is not currently available.
    However, you can contact our customization team here in order to achieve the above-mentioned functionality.
    Hope you understand.
    Thanks

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Youtube Embed’ is closed to new replies.