vdl
Forum Replies Created
-
Forum: Plugins
In reply to: [GamiPress - Vimeo integration] Video progress, custom pointsIf I have an event that knows what the progress of Vimeo is, it can be added to it. Would you like to receive the javascript code to see how it is working and add this resource to your plugin?
As a voice you can let your user choose how much % should be reproduced to score.
I can send the javascript code for you Dionisio, it works both in the free version and in the paid version of Vimeo.
- This reply was modified 1 year, 4 months ago by vdl.
Forum: Plugins
In reply to: [GamiPress - Vimeo integration] Video progress, custom pointsPrestoplayer is not a good option because it doesn’t have the feature to show thumbnails of videos on the timeline. This is very, very important for UX. I already spoke with their support and there is no forecast to add.
Dionísio, could you talk to a developer who knows the vímeo addon code so he can read my message here on the forum and give me a report on my questions?
Forum: Plugins
In reply to: [Nginx Helper] Clean up CSS Elementor after hitting PurgeI didn’t know how to do this. I really liked the tip, but on a very large site, cleaning all nginx cache can take a long time for the first page loads.
Do you know if it would be passing a url to wp cli to clear the nginx cache?
Forum: Plugins
In reply to: [Web Stories] Developer importing in this way can give problem?Hi Pascal,
there’s something weird going on with optimization…
(I know I should open a problem for this error, but I need to work around).I’ll explain what’s going on:
When the plugin will process more than 6 pages of video, Google Chrome is returning the error: “Aw, Snap”, this only happens in Chrome, in Firefox it does normal.
(Updated Chrome, iMac i5 10th generation)
I was looking at a post on your blog, and I found this:
-vf scale=’min(720,iw)’:’min(1080,ih)’:
‘force_original_aspect_ratio=decrease’,
pad=’width=ceil(iw/2)*2:height=ceil(ih/2)*2′I passed this string to ffmpeg directly through the mac terminal and my output was a crooked video, so it got the correct output I had to do: min(720,iw)’:’min(1280,ih)
As I’m working in chrome, I decided to compress all the files in the terminal and to make my life easier, import via wordpress-cli.
Well, I finally went to build the story and the plugin gave me the following error:
“Larger than 720p videos can cause slower loading and higher bandwidh costs.”So I uploaded a single video file via plugin, and it did exactly the same compression as I did in the terminal and preserved the 720×1280 dimensions.
My version got a little smaller because I’m using the -preset slow parameter.
houston we have a problem.
I believe the plugin needs to predict that an mp4 media file that is on the server may already have been maximally compressed.
Do you think that if I ignore this error about dimensions I might have a problem with the content being indexed?
Indexing media via wp-cli is much better for me than via plugin.
Thank you Pascal, for your patience.
- This reply was modified 3 years, 2 months ago by vdl.
Forum: Plugins
In reply to: [Web Stories] Developer importing in this way can give problem?Hi Pascal,
thanks for the clarifications, this really is way beyond my reach.
I’m readapting to use 80% of my work in creating the webstories and I found a post from you that is very similar to the solution I developed.
https://pascalbirchler.com/client-side-video-optimization/(I thought your compression removed a lot of quality that in the future it might be important to be there, yes I know you have your reasons for this.)
Congratulations on the solution using Google’s CDN for videos, this motivated me a lot! And congratulations for working with the gifs.
I have a question, if my video files have already been uploaded in the right sizes onto my server and if they have already been compressed, when I add them to the plugin through the media manager, the plugin will compress again?
Although I don’t want to have 50mb “h264” files, it’s not a space issue for me if they are left with 7mb or 5mb.
I also have no problem uploading all my videos in webm, because my script is already taking care of this, do you believe this format could be better for webstories than h264?
Forum: Plugins
In reply to: [Web Stories] Developer importing in this way can give problem?Hello Pascal,
after long hours i managed to do what i needed, my webstories is generated by a script and i have it validated by AMP.
But my idea was to manage the westories by its plugin, when I imported the content of my amp code into the WebStories Plugin, it broke the layout of the videos.
It works fine if I point directly to the local or remote file, but if I import my html code in mysql into the plugin managed post it breaks.
I would not like to post my page here publicly, can I send it to you by email?
Thank you Pascal!
Forum: Plugins
In reply to: [Web Stories] Web Story Plugin is Conflicting With Yoast SeoHello Firehox,
disable yoast for post type web-story, use this code in your functions.php
#Disable Yoast in WebStories
function remove_wpseo() {if ( is_singular (‘web-story’) ) {
$front_end = YoastSEO()->classes->get( Yoast\WP\SEO\Integrations\Front_End_Integration::class );remove_action( ‘wpseo_head’, [ $front_end, ‘present_head’ ], -9999 );
}
}
add_action( ‘template_redirect’, ‘remove_wpseo’ );After adding this code enter your webstories and click on update, test the amp. if it worked, update them all.
- This reply was modified 3 years, 2 months ago by vdl.
Oh Sorry, the font letter was white against a white background.
Forum: Plugins
In reply to: [Dynamic Conditions] Show/hide widget based on post categoryI would also like to know this …
Forum: Plugins
In reply to: [Simple Local Avatars] Is it possible to make a shortcode available?No, it is called by another function which is called by a shortcode.
- This reply was modified 4 years, 2 months ago by vdl.
Forum: Plugins
In reply to: [Custom Post Type UI] Hierarchy menu, drop-down list does not appear.Bright! I will test this.
Forum: Plugins
In reply to: [Custom Post Type UI] Hierarchy menu, drop-down list does not appear.Mike, you are really amazing!
I am very grateful for all of your answers.
After I did all these tests with your support, I thought that what could solve for me is a structure of permalinks for better customized post.
I’m wondering how can I make my url look like this:
/% custom post name% /% main category% /% sub-category% /% postname%
Only on personalized posts, do you have any suggestions where I can search?
Do you think this is an unrecommended practice?
Forum: Plugins
In reply to: [Custom Post Type UI] Hierarchy menu, drop-down list does not appear.Hi Michael, I thought this was a native solution for your plugin. Well, what I need as a result is that the permalink does the format course / course-name / class
Any suggestion?
Forum: Plugins
In reply to: [Custom Post Type UI] Hierarchy menu, drop-down list does not appear.Hi Michael, what I’m trying to do is put the two new types of post into one.
See in this image, I would like to have Filho(son) and Filho(son) 2, within Pai(father).
https://www.dropbox.com/s/3d0pgmkjagkdpcp/2020-09-11_13-43-07%20%283%29.png?dl=0
- This reply was modified 4 years, 2 months ago by vdl.