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
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
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