Can you just help me understand what the key is for the package description? It is not listed in in the function reference package data keys.
Thanks!
Wonderful. Thank you, Shahjada. Do you have any idea when that update might occur?
THAT WORKED…THANK YOU! Is there any way to allow that tag to work for Wistia videos as well?
So there is no way to write a function to target other parts of a package that should be hidden based on package permissions? I saw this in another thread and didn’t know if there’s a way to modify it to target the body/description rather than the video player?
add_filter("wpdm_video_player_html", function ($player, $packageID, $file, $width){
if(!WPDM()->package->userCanDownload($packageID)) $player = \WPDM\__\Messages::permission_denied($packageID);
return $player;
}, 10, 4);
As mentioned previously, I do not want to upload videos. I need a solution that allows me to use EMBEDS (not video URL). I’m hoping I can write a function that can look to my package’s user permissions to toggle on and off that div so that I can use what I’ve already created within Pods since there is no embed solution at this time that works with user access.
Is there an easy way to just modify this function to toggle my Pods additional field rather than the WPDM video player? I’m not a developer, so I’m not sure how to modify this to accommodate, but I feel like it should be possible to just write something that says “hide this div if the user doesn’t have permission to view this package.” That is what you have built as defaults within the plugin already, I just need to modify it to turn off a different thing than the preset.
add_filter("wpdm_video_player_html", function ($player, $packageID, $file, $width){
if(!WPDM()->package->userCanDownload($packageID)) $player = \WPDM\__\Messages::permission_denied($packageID);
return $player;
}, 10, 4);
Any news from your team authority? Trying to figure out if there is a solution already in existence that can meet this need or if this is going to end up being something developed and released in a future update.
Our videos must remain private on Vimeo where they are hosted, so the Youtube player won’t work. Really need an option to embed in which the player hides based on access level…just like audio files.
The modal also doesn’t seem to listen completely to the access level. I get the “you need permission to access” message, but it replaces the text on the button in the test you provided to me and the button still works. So even though it says I can’t access, if I click the button, the video still pops up.
Any update on multiple PPT files?
That is fine with the exception of I would like that video preview to display directly on the page, not hidden behind a button. Is there a way for that player to live right there in the page like my provided example, but not be visible to those who don’t have access to the package? I am looking for a solution that functions exactly like any other PDF, Doc, etc. resource preview, but for an embedded video.
Basically I need exactly this https://resources.advisorsexcel.com/resource/transformation-taxes-david-callanan-opening-session/ where the video player is there and hides for users who don’t have access, but with an embed not an uploaded MP4.
Thank you. I am now seeing Word Docs, individual Powerpoints and audio files properly. However, multiple PPTs in a package still do not display and never have. Is this something that can be fixed?
Example: https://resources.advisorsexcel.com/resource/legacy-optimizer-seminar-slides-dl-io-aefs/
I was able to listen to audio files and preview Word Doc & PPT files previously. Multiple PPTs in a package have never worked. As you mentioned, those still don’t seem to work. Something has changed that is preventing previews for all 4 of the examples previously provided. I’ve tried deactivating all other plugins to see if there is a conflict, but no change.
No…I purchased the PDF Viewer plugin and that is what I am using including the supplied shortcodes from the plugin page: https://www.wpdownloadmanager.com/download/wordpress-pdf-viewer/. No extra plugins or external code.
This all worked (with the exception of multiple PPT files) previous to the Version 3.0.0 update to the PDF Viewer plugin. Multiple PPTs have never displayed properly, but show blank like the example provided.
If you go to any of the pages noted in my next private reply, you’ll see that the downloads work fine from the button, but the PDF Viewer preview is showing “File not found” or it is just blank. Additionally, the audio files no longer play when you click the play buttons. This is not an issue of access/permissions, but an issue with the actual previews of these documents. Please advise!
Hi there, this is not the case. Please try heading to the link of the Download itself, and see that the Preview is not working, despite the Download button working.
Note: Please send updates to hannah.kintigh@advisorsexcel.com.
Role has been updated to admin.
Files are not moved or deleted…they work when you click “Download.” They just aren’t previewing correctly. They were working fine before the Version 3.0.0 update to the PDF Viewer plugin.
I provided admin login details as part of my initial request in a private reply.
Hello! Been a few days…just checking in to see if you’ve been able to make any progress with this issue?