Alec Rust
Forum Replies Created
-
Forum: Plugins
In reply to: [Protected Video] Video not show wp course builder@philcowley did you disable other plugins to isolate the issue?
I just installed WP Courses in my test environment and created a course with a video inserted in one of the lessons, seems to work fine:
Can you try a) disabling other plugins and b) trying a different theme? In my testing Protected Videos inserted via the block method or Shortcode method work fine with WP Courses.
Forum: Plugins
In reply to: [Protected Video] Video not show wp course builderHi @philcowley thanks for reporting this.
It’s quite possible the WP Courses plugin is interfering with the loading of the player. Please see The display of the player is broken/it doesn’t work FAQ for details and debugging instructions.
As detailed there, can you disable other plugins and place the video on a non-WP Courses page to isolate the issue to WP Courses?
I don’t see a video trying to be loaded on the URL you provided, but feel free to create a page dedicated to this issue on that domain and provide the URL here.
Forum: Plugins
In reply to: [Protected Video] Play video from a given timeResolving as no response.
Forum: Plugins
In reply to: [Protected Video] Play video from a given time[removed]
Forum: Plugins
In reply to: [Protected Video] Youtube qualityResolving as no response.
Forum: Plugins
In reply to: [Protected Video] Empty div no iframe@redwiper thanks for confirming the latest version fixed your issue.
Regarding “manipulating with JS” my plugin just loads a Plyr player into your page. From there you can do what you like based on the capabilities of Plyr, this events documentation might be useful.
Forum: Plugins
In reply to: [Protected Video] Play video from a given timeForum: Plugins
In reply to: [Protected Video] Empty div no iframe@redwiper can you let me know if the latest version fixed your issue?
Forum: Plugins
In reply to: [Protected Video] Youtube qualityThe quality selector may be a feature of Plyr, but I don’t believe it can work with YouTube videos and so is disabled. Feel free to prove me wrong in a CodePen or something.
I believe this is a limitation of the way YouTube videos are embedded (using iframe) and there’s just no API to set this from the custom quality UI.
Forum: Plugins
In reply to: [Protected Video] Empty div no iframe@redwiper I’ve released a new version of the plugin 1.10.7 which should load the necessary JS/CSS on “custom page template” pages which ACF seems to use.
Please can you update to this version of the plugin and let me know if this resolves your issue of the player not loading?
Please note that the player is not designed to load in the admin area, only the user-facing pages.
Forum: Plugins
In reply to: [Protected Video] Empty div no iframeThanks for reporting this issue @redwiper.
For performance reasons Protected Video tries to only load its associated assets (JS and CSS files) when it detects that a Protected Video Gutenberg block, or Shortcode, is used in a post/page.
In the case of Advanced Custom Fields, the HTML it’s outputting to the page looks correct to me – the issue is that this “detection” is failing so the JS and CSS is not being loaded.
I’m not very familiar with ACF, but I see it’s free to install. Can you walk me through how you created the player within ACF, so I can reproduce this locally? I may then be able to add some code to Protected Video to cover this case.
Another option, might be for me to add an option to Protected Video plugin settings to “Force asset loading”. When enabled this would always load the necessary JS/CSS on every page, regardless of whether a Protected Video player was detected on the page.
Forum: Plugins
In reply to: [Protected Video] YouTube CaptionsResolving as no response.
Forum: Plugins
In reply to: [Protected Video] YouTube Captions@flickimp the conclusion of that topic was that YouTube captions weren’t working correctly on the latest version of Plyr, which is the player this plugin uses.
The poster seemed to have a workaround to get captions to show, but on an old version of Plyr. Feel free to use the workaround mentioned, but in isolation i.e. not via the Protected Video plugin.
As for captions coming to the Protected Video plugin, this would most likely happen when the Vidstack player is released and implemented in the plugin.
Forum: Plugins
In reply to: [Protected Video] YouTube CaptionsHi Imran, thanks!
Please see this topic, and let me know if you have any more queries:
Forum: Plugins
In reply to: [Protected Video] Not working with memberpress courseMany thanks, this is now fixed.
The issue is caused by MemberPress Courses disabling all other plugin assets on their course pages, as explained here.
Newly released Protected Video plugin version 1.10.1 now includes special code for this case, that allows the Protected Video CSS to load on course pages. For the JS to load, the “WP Footer Hook” option must also be enabled, which is explained here.