bazza
Forum Replies Created
Viewing 6 replies - 1 through 6 (of 6 total)
-
The problem is that it exceeds 1GB of memory at the time of installation…
define('WP_MEMORY_LIMIT', '1G');
in wp-config.phpIn each version it requires more and more memory
I have tried again many times but in all updates or not install or break the server
thanks
the same as @ vormwmik54 says. when it was updated it broke.
Forum: Plugins
In reply to: [Switch Video Quality] Subtitle for defaultIf you don’t have javascript I also add this:
if ( stripos(get_locale(), $sub['svq_lang'] ) > -1 ) {$svq_default_lang = "default"; } else { $svq_default_lang = ""; } $html .= '<track srclang="' . esc_attr($sub['svq_lang']) . '" label="' . esc_html($sub['svq_label']) . '" kind="subtitles" src="' . esc_url($sub['svq_src']) .'" '. $svq_default_lang . '>';- This reply was modified 5 years, 6 months ago by bazza.
Forum: Plugins
In reply to: [Switch Video Quality] Subtitle for defaultthanks,
I add a delay because it takes a while to loadsetTimeout(function(){
var lang = document.documentElement.lang;
if (lang){ jQuery(‘.mejs-video.svq .mejs-captions-selector-input[value$=”‘+lang.substr(0,2)+'”]’).click();}
}, 6000);
Viewing 6 replies - 1 through 6 (of 6 total)