Edit File by line

Deprecated: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /home/sportsfever/public_html/filemanger/function.php on line 93

Warning: Undefined array key "page_file_edit_line" in /home/sportsfever/public_html/filemanger/edit_text_line.php on line 32
/home/sportsfe.../httpdocs/wp-conte.../plugins/embedpre.../EmbedPre.../Elemento.../Widgets
File: Embedpress_Elementor.php
'Automatically stop the current video from playing when another one starts.',
[500] Fix | Delete
'embedpress'
[501] Fix | Delete
),
[502] Fix | Delete
'condition' => [
[503] Fix | Delete
'embedpress_pro_embeded_source' => 'vimeo'
[504] Fix | Delete
],
[505] Fix | Delete
'classes' => $this->pro_class,
[506] Fix | Delete
]
[507] Fix | Delete
);
[508] Fix | Delete
[509] Fix | Delete
$this->add_control(
[510] Fix | Delete
'embedpress_pro_vimeo_dnt',
[511] Fix | Delete
[
[512] Fix | Delete
'label' => sprintf(__('DNT %s', 'embedpress'), $this->pro_text),
[513] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[514] Fix | Delete
'label_block' => false,
[515] Fix | Delete
'return_value' => 'yes',
[516] Fix | Delete
'default' => 'yes',
[517] Fix | Delete
'description' => __(
[518] Fix | Delete
'Set this parameter to "yes" will block tracking any session data, including cookies. If Auto Pause is enabled this will not work.',
[519] Fix | Delete
'embedpress'
[520] Fix | Delete
),
[521] Fix | Delete
'condition' => [
[522] Fix | Delete
'embedpress_pro_embeded_source' => 'vimeo'
[523] Fix | Delete
],
[524] Fix | Delete
'classes' => $this->pro_class,
[525] Fix | Delete
]
[526] Fix | Delete
);
[527] Fix | Delete
[528] Fix | Delete
[529] Fix | Delete
$this->add_control(
[530] Fix | Delete
'embedpress_pro_youtube_auto_play',
[531] Fix | Delete
[
[532] Fix | Delete
'label' => __('Auto Play', 'embedpress'),
[533] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[534] Fix | Delete
'label_block' => false,
[535] Fix | Delete
'return_value' => 'yes',
[536] Fix | Delete
'default' => 'no',
[537] Fix | Delete
'condition' => $yt_condition,
[538] Fix | Delete
]
[539] Fix | Delete
);
[540] Fix | Delete
$this->add_control(
[541] Fix | Delete
'embedpress_pro_youtube_player_options',
[542] Fix | Delete
[
[543] Fix | Delete
'label' => __('Player Options', 'embedpress'),
[544] Fix | Delete
'type' => Controls_Manager::HEADING,
[545] Fix | Delete
'condition' => [
[546] Fix | Delete
'embedpress_pro_embeded_source' => 'youtube',
[547] Fix | Delete
'emberpress_custom_player!' => 'yes'
[548] Fix | Delete
],
[549] Fix | Delete
]
[550] Fix | Delete
);
[551] Fix | Delete
$this->add_control(
[552] Fix | Delete
'embedpress_pro_youtube_display_controls',
[553] Fix | Delete
[
[554] Fix | Delete
'label' => __('Controls', 'embedpress'),
[555] Fix | Delete
'type' => Controls_Manager::SELECT,
[556] Fix | Delete
'label_block' => false,
[557] Fix | Delete
'default' => 1,
[558] Fix | Delete
'options' => [
[559] Fix | Delete
'1' => __('Display immediately', 'embedpress'),
[560] Fix | Delete
'2' => __('Display after user initiation', 'embedpress'),
[561] Fix | Delete
'0' => __('Hide controls', 'embedpress')
[562] Fix | Delete
],
[563] Fix | Delete
'condition' => [
[564] Fix | Delete
'embedpress_pro_embeded_source' => 'youtube',
[565] Fix | Delete
'emberpress_custom_player!' => 'yes'
[566] Fix | Delete
],
[567] Fix | Delete
]
[568] Fix | Delete
);
[569] Fix | Delete
$this->add_control(
[570] Fix | Delete
'embedpress_pro_youtube_enable_fullscreen_button',
[571] Fix | Delete
[
[572] Fix | Delete
'label' => __('Fullscreen button', 'embedpress'),
[573] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[574] Fix | Delete
'label_block' => false,
[575] Fix | Delete
'return_value' => 'yes',
[576] Fix | Delete
'default' => 'yes',
[577] Fix | Delete
'condition' => [
[578] Fix | Delete
'embedpress_pro_embeded_source' => ['youtube', 'vimeo'],
[579] Fix | Delete
'embedpress_pro_youtube_display_controls!' => '0'
[580] Fix | Delete
]
[581] Fix | Delete
]
[582] Fix | Delete
);
[583] Fix | Delete
$this->add_control(
[584] Fix | Delete
'embedpress_pro_youtube_display_video_annotations',
[585] Fix | Delete
[
[586] Fix | Delete
'label' => __('Video Annotations', 'embedpress'),
[587] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[588] Fix | Delete
'label_block' => false,
[589] Fix | Delete
'default' => 1,
[590] Fix | Delete
'options' => [
[591] Fix | Delete
'1' => __('Display', 'embedpress'),
[592] Fix | Delete
'3' => __('Do Not Display', 'embedpress')
[593] Fix | Delete
],
[594] Fix | Delete
'condition' => [
[595] Fix | Delete
'embedpress_pro_embeded_source' => 'youtube',
[596] Fix | Delete
'emberpress_custom_player!' => 'yes'
[597] Fix | Delete
],
[598] Fix | Delete
]
[599] Fix | Delete
);
[600] Fix | Delete
//--- YouTube Pro control starts ---
[601] Fix | Delete
$this->add_control(
[602] Fix | Delete
'embedpress_pro_youtube_progress_bar_color',
[603] Fix | Delete
[
[604] Fix | Delete
'label' => __('Progress Bar Color', 'embedpress'),
[605] Fix | Delete
'type' => Controls_Manager::SELECT,
[606] Fix | Delete
'label_block' => false,
[607] Fix | Delete
'default' => 'red',
[608] Fix | Delete
'options' => [
[609] Fix | Delete
'red' => __('Red', 'embedpress'),
[610] Fix | Delete
'white' => __('White', 'embedpress')
[611] Fix | Delete
],
[612] Fix | Delete
'condition' => [
[613] Fix | Delete
'embedpress_pro_embeded_source' => 'youtube',
[614] Fix | Delete
'emberpress_custom_player!' => 'yes'
[615] Fix | Delete
],
[616] Fix | Delete
]
[617] Fix | Delete
);
[618] Fix | Delete
$this->add_control(
[619] Fix | Delete
'embedpress_pro_youtube_force_closed_captions',
[620] Fix | Delete
[
[621] Fix | Delete
'label' => sprintf(__('Closed Captions %s', 'embedpress'), $this->pro_text),
[622] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[623] Fix | Delete
'label_block' => false,
[624] Fix | Delete
'return_value' => 'yes',
[625] Fix | Delete
'default' => 'no',
[626] Fix | Delete
'separator' => 'before',
[627] Fix | Delete
'classes' => $this->pro_class,
[628] Fix | Delete
'condition' => [
[629] Fix | Delete
'embedpress_pro_embeded_source' => 'youtube',
[630] Fix | Delete
'emberpress_custom_player!' => 'yes'
[631] Fix | Delete
],
[632] Fix | Delete
]
[633] Fix | Delete
);
[634] Fix | Delete
$this->add_control(
[635] Fix | Delete
'embedpress_pro_youtube_modest_branding',
[636] Fix | Delete
[
[637] Fix | Delete
'label' => sprintf(__('Modest Branding %s', 'embedpress'), $this->pro_text),
[638] Fix | Delete
'type' => Controls_Manager::SELECT,
[639] Fix | Delete
'label_block' => false,
[640] Fix | Delete
'default' => 1,
[641] Fix | Delete
'options' => [
[642] Fix | Delete
'0' => __('Display', 'embedpress'),
[643] Fix | Delete
'1' => __('Do Not Display', 'embedpress')
[644] Fix | Delete
],
[645] Fix | Delete
'condition' => [
[646] Fix | Delete
'embedpress_pro_embeded_source' => 'youtube',
[647] Fix | Delete
'embedpress_pro_youtube_display_controls!' => '0',
[648] Fix | Delete
'embedpress_pro_youtube_progress_bar_color!' => 'white',
[649] Fix | Delete
'embedpress_custom_player!' => 'yes',
[650] Fix | Delete
],
[651] Fix | Delete
'classes' => $this->pro_class,
[652] Fix | Delete
]
[653] Fix | Delete
);
[654] Fix | Delete
[655] Fix | Delete
[656] Fix | Delete
[657] Fix | Delete
[658] Fix | Delete
[659] Fix | Delete
do_action('extend_customplayer_controls', $this, '_', $this->pro_text, $this->pro_class);
[660] Fix | Delete
[661] Fix | Delete
[662] Fix | Delete
$this->add_control(
[663] Fix | Delete
'embepress_player_always_on_top',
[664] Fix | Delete
[
[665] Fix | Delete
'label' => sprintf(__('Sticky Video %s', 'embedpress'), $this->pro_text),
[666] Fix | Delete
'description' => __('Watch video and seamlessly scroll through other content with a sleek pop-up window.', 'embedpress'),
[667] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[668] Fix | Delete
'label_block' => false,
[669] Fix | Delete
'return_value' => 'yes',
[670] Fix | Delete
'classes' => $this->pro_class,
[671] Fix | Delete
'default' => '',
[672] Fix | Delete
'condition' => [
[673] Fix | Delete
'emberpress_custom_player' => 'yes',
[674] Fix | Delete
'embedpress_pro_embeded_source' => ['youtube', 'vimeo', 'selfhosted_video']
[675] Fix | Delete
],
[676] Fix | Delete
]
[677] Fix | Delete
);
[678] Fix | Delete
[679] Fix | Delete
$this->add_control(
[680] Fix | Delete
'embedpress_pro_youtube_display_related_videos',
[681] Fix | Delete
[
[682] Fix | Delete
'label' => __('Related Videos', 'embedpress'),
[683] Fix | Delete
'description' => __('Set it to "Yes" to display related videos from all channels. Otherwise, related videos will show from the same channel.', 'embedpress'),
[684] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[685] Fix | Delete
'label_block' => false,
[686] Fix | Delete
'return_value' => 'yes',
[687] Fix | Delete
'default' => 'yes',
[688] Fix | Delete
'condition' => $yt_condition,
[689] Fix | Delete
]
[690] Fix | Delete
);
[691] Fix | Delete
[692] Fix | Delete
[693] Fix | Delete
[694] Fix | Delete
$this->add_control(
[695] Fix | Delete
"embedpress_player_poster_thumbnail",
[696] Fix | Delete
[
[697] Fix | Delete
'label' => sprintf(__('Thumbnail %s', 'embedpress'), $this->pro_text),
[698] Fix | Delete
'type' => Controls_Manager::MEDIA,
[699] Fix | Delete
'dynamic' => [
[700] Fix | Delete
'active' => true,
[701] Fix | Delete
],
[702] Fix | Delete
'classes' => $this->pro_class,
[703] Fix | Delete
'condition' => [
[704] Fix | Delete
'emberpress_custom_player' => 'yes',
[705] Fix | Delete
'embedpress_pro_embeded_source' => ['youtube', 'vimeo', 'selfhosted_video']
[706] Fix | Delete
],
[707] Fix | Delete
]
[708] Fix | Delete
);
[709] Fix | Delete
[710] Fix | Delete
$this->init_branding_controls('youtube');
[711] Fix | Delete
}
[712] Fix | Delete
[713] Fix | Delete
public function init_youtube_channel_section()
[714] Fix | Delete
{
[715] Fix | Delete
$yt_condition = [
[716] Fix | Delete
'embedpress_pro_embeded_source' => 'youtube',
[717] Fix | Delete
];
[718] Fix | Delete
$this->start_controls_section(
[719] Fix | Delete
'embedpress_yt_channel_section',
[720] Fix | Delete
[
[721] Fix | Delete
'label' => __('YouTube Channel', 'embedpress'),
[722] Fix | Delete
'condition' => [
[723] Fix | Delete
'embedpress_pro_embeded_source' => 'youtube',
[724] Fix | Delete
'emberpress_custom_player!' => 'yes'
[725] Fix | Delete
],
[726] Fix | Delete
[727] Fix | Delete
]
[728] Fix | Delete
);
[729] Fix | Delete
[730] Fix | Delete
$this->add_control(
[731] Fix | Delete
'important_note',
[732] Fix | Delete
[
[733] Fix | Delete
'type' => \Elementor\Controls_Manager::RAW_HTML,
[734] Fix | Delete
'raw' => esc_html__('These options take effect only when a YouTube channel is embedded.', 'embedpress'),
[735] Fix | Delete
'content_classes' => 'elementor-panel-alert elementor-panel-alert-info',
[736] Fix | Delete
]
[737] Fix | Delete
);
[738] Fix | Delete
[739] Fix | Delete
$this->add_control(
[740] Fix | Delete
'pagesize',
[741] Fix | Delete
[
[742] Fix | Delete
'label' => __('Video Per Page', 'embedpress'),
[743] Fix | Delete
'type' => Controls_Manager::NUMBER,
[744] Fix | Delete
'label_block' => false,
[745] Fix | Delete
'default' => 6,
[746] Fix | Delete
'min' => 1,
[747] Fix | Delete
'max' => 50,
[748] Fix | Delete
'conditions' => [
[749] Fix | Delete
'terms' => [
[750] Fix | Delete
[
[751] Fix | Delete
'name' => 'embedpress_pro_embeded_source',
[752] Fix | Delete
'operator' => '===',
[753] Fix | Delete
'value' => 'youtube',
[754] Fix | Delete
],
[755] Fix | Delete
],
[756] Fix | Delete
]
[757] Fix | Delete
]
[758] Fix | Delete
);
[759] Fix | Delete
[760] Fix | Delete
$this->add_control(
[761] Fix | Delete
'columns',
[762] Fix | Delete
[
[763] Fix | Delete
'label' => __('Column', 'embedpress'),
[764] Fix | Delete
'type' => \Elementor\Controls_Manager::SELECT,
[765] Fix | Delete
'label_block' => false,
[766] Fix | Delete
'default' => '3',
[767] Fix | Delete
'options' => [
[768] Fix | Delete
'2' => esc_html__('2', 'embedpress'),
[769] Fix | Delete
'3' => esc_html__('3', 'embedpress'),
[770] Fix | Delete
'4' => esc_html__('4', 'embedpress'),
[771] Fix | Delete
'6' => esc_html__('6', 'embedpress'),
[772] Fix | Delete
'auto' => esc_html__('Auto', 'embedpress'),
[773] Fix | Delete
],
[774] Fix | Delete
'conditions' => [
[775] Fix | Delete
'terms' => [
[776] Fix | Delete
[
[777] Fix | Delete
'name' => 'embedpress_pro_embeded_source',
[778] Fix | Delete
'operator' => '===',
[779] Fix | Delete
'value' => 'youtube',
[780] Fix | Delete
],
[781] Fix | Delete
],
[782] Fix | Delete
]
[783] Fix | Delete
]
[784] Fix | Delete
);
[785] Fix | Delete
$this->add_control(
[786] Fix | Delete
'gapbetweenvideos',
[787] Fix | Delete
[
[788] Fix | Delete
'label' => __('Gap Between Videos', 'embedpress'),
[789] Fix | Delete
'label_block' => true,
[790] Fix | Delete
'type' => \Elementor\Controls_Manager::SLIDER,
[791] Fix | Delete
'size_units' => ['px', '%'],
[792] Fix | Delete
'range' => [
[793] Fix | Delete
'px' => [
[794] Fix | Delete
'min' => 0,
[795] Fix | Delete
'max' => 100,
[796] Fix | Delete
'step' => 1,
[797] Fix | Delete
],
[798] Fix | Delete
'%' => [
[799] Fix | Delete
'min' => 0,
[800] Fix | Delete
'max' => 100,
[801] Fix | Delete
],
[802] Fix | Delete
],
[803] Fix | Delete
'default' => [
[804] Fix | Delete
'unit' => 'px',
[805] Fix | Delete
'size' => 30,
[806] Fix | Delete
],
[807] Fix | Delete
'conditions' => [
[808] Fix | Delete
'terms' => [
[809] Fix | Delete
[
[810] Fix | Delete
'name' => 'embedpress_pro_embeded_source',
[811] Fix | Delete
'operator' => '===',
[812] Fix | Delete
'value' => 'youtube',
[813] Fix | Delete
],
[814] Fix | Delete
],
[815] Fix | Delete
],
[816] Fix | Delete
'selectors' => [
[817] Fix | Delete
'{{WRAPPER}} .ep-youtube__content__block .youtube__content__body .content__wrap' => 'gap: {{SIZE}}{{UNIT}}!important;margin-top: {{SIZE}}{{UNIT}}!important;',
[818] Fix | Delete
],
[819] Fix | Delete
]
[820] Fix | Delete
);
[821] Fix | Delete
[822] Fix | Delete
$this->add_control(
[823] Fix | Delete
'pagination',
[824] Fix | Delete
[
[825] Fix | Delete
'label' => __('Pagination', 'embedpress'),
[826] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[827] Fix | Delete
'label_block' => false,
[828] Fix | Delete
'label_on' => esc_html__('Show', 'embedpress'),
[829] Fix | Delete
'label_off' => esc_html__('Hide', 'embedpress'),
[830] Fix | Delete
'return_value' => 'show',
[831] Fix | Delete
'default' => 'show',
[832] Fix | Delete
'condition' => $yt_condition,
[833] Fix | Delete
]
[834] Fix | Delete
);
[835] Fix | Delete
[836] Fix | Delete
[837] Fix | Delete
$this->end_controls_section();
[838] Fix | Delete
}
[839] Fix | Delete
public function init_youtube_subscription_section()
[840] Fix | Delete
{
[841] Fix | Delete
$yt_condition = [
[842] Fix | Delete
'embedpress_pro_embeded_source' => 'youtube',
[843] Fix | Delete
];
[844] Fix | Delete
$this->start_controls_section(
[845] Fix | Delete
'embedpress_yt_subscription_section',
[846] Fix | Delete
[
[847] Fix | Delete
'label' => __('YouTube Subscriber', 'embedpress'),
[848] Fix | Delete
'condition' => $yt_condition,
[849] Fix | Delete
[850] Fix | Delete
]
[851] Fix | Delete
);
[852] Fix | Delete
[853] Fix | Delete
[854] Fix | Delete
$this->add_control(
[855] Fix | Delete
'yt_sub_channel',
[856] Fix | Delete
[
[857] Fix | Delete
[858] Fix | Delete
'label' => sprintf(__('Channel ID %s', 'embedpress'), $this->pro_text),
[859] Fix | Delete
'type' => Controls_Manager::TEXT,
[860] Fix | Delete
'dynamic' => [
[861] Fix | Delete
'active' => true,
[862] Fix | Delete
],
[863] Fix | Delete
'placeholder' => __('Enter Channel ID', 'embedpress'),
[864] Fix | Delete
'label_block' => true,
[865] Fix | Delete
'condition' => $yt_condition,
[866] Fix | Delete
'classes' => $this->pro_class,
[867] Fix | Delete
]
[868] Fix | Delete
);
[869] Fix | Delete
$this->add_control(
[870] Fix | Delete
'yt_sub_text',
[871] Fix | Delete
[
[872] Fix | Delete
[873] Fix | Delete
'label' => sprintf(__('Subscription Text %s', 'embedpress'), $this->pro_text),
[874] Fix | Delete
'type' => Controls_Manager::TEXT,
[875] Fix | Delete
'dynamic' => [
[876] Fix | Delete
'active' => true,
[877] Fix | Delete
],
[878] Fix | Delete
'placeholder' => __('Eg. Don\'t miss out! Subscribe', 'embedpress'),
[879] Fix | Delete
'label_block' => true,
[880] Fix | Delete
'condition' => $yt_condition,
[881] Fix | Delete
'classes' => $this->pro_class,
[882] Fix | Delete
]
[883] Fix | Delete
);
[884] Fix | Delete
[885] Fix | Delete
[886] Fix | Delete
$this->add_control(
[887] Fix | Delete
'yt_sub_layout',
[888] Fix | Delete
[
[889] Fix | Delete
'label' => sprintf(__('Layout %s', 'embedpress'), $this->pro_text),
[890] Fix | Delete
'type' => Controls_Manager::SELECT,
[891] Fix | Delete
'label_block' => false,
[892] Fix | Delete
'default' => 'default',
[893] Fix | Delete
'options' => [
[894] Fix | Delete
'default' => __('Default', 'embedpress'),
[895] Fix | Delete
'full' => __('Full', 'embedpress')
[896] Fix | Delete
],
[897] Fix | Delete
'condition' => [
[898] Fix | Delete
'embedpress_pro_embeded_source' => 'youtube',
[899] Fix | Delete
],
[900] Fix | Delete
'classes' => $this->pro_class,
[901] Fix | Delete
]
[902] Fix | Delete
);
[903] Fix | Delete
[904] Fix | Delete
$this->add_control(
[905] Fix | Delete
'yt_sub_theme',
[906] Fix | Delete
[
[907] Fix | Delete
'label' => sprintf(__('Theme %s', 'embedpress'), $this->pro_text),
[908] Fix | Delete
'type' => Controls_Manager::SELECT,
[909] Fix | Delete
'label_block' => false,
[910] Fix | Delete
'default' => 'default',
[911] Fix | Delete
'options' => [
[912] Fix | Delete
'default' => __('Default', 'embedpress'),
[913] Fix | Delete
'dark' => __('Dark', 'embedpress')
[914] Fix | Delete
],
[915] Fix | Delete
'condition' => [
[916] Fix | Delete
'embedpress_pro_embeded_source' => 'youtube',
[917] Fix | Delete
],
[918] Fix | Delete
'classes' => $this->pro_class,
[919] Fix | Delete
]
[920] Fix | Delete
);
[921] Fix | Delete
[922] Fix | Delete
$this->add_control(
[923] Fix | Delete
'yt_sub_count',
[924] Fix | Delete
[
[925] Fix | Delete
'label' => sprintf(__('Subscriber Count %s', 'embedpress'), $this->pro_text),
[926] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[927] Fix | Delete
'label_block' => false,
[928] Fix | Delete
'return_value' => 'yes',
[929] Fix | Delete
'default' => 'yes',
[930] Fix | Delete
'condition' => $yt_condition,
[931] Fix | Delete
'classes' => $this->pro_class,
[932] Fix | Delete
]
[933] Fix | Delete
);
[934] Fix | Delete
[935] Fix | Delete
$this->end_controls_section();
[936] Fix | Delete
}
[937] Fix | Delete
[938] Fix | Delete
public function init_youtube_livechat_section()
[939] Fix | Delete
{
[940] Fix | Delete
$yt_condition = [
[941] Fix | Delete
'embedpress_pro_embeded_source' => 'youtube',
[942] Fix | Delete
];
[943] Fix | Delete
$this->start_controls_section(
[944] Fix | Delete
'embedpress_yt_livechat_section',
[945] Fix | Delete
[
[946] Fix | Delete
'label' => __('YouTube Live Chat', 'embedpress'),
[947] Fix | Delete
'condition' => $yt_condition,
[948] Fix | Delete
[949] Fix | Delete
]
[950] Fix | Delete
);
[951] Fix | Delete
[952] Fix | Delete
$this->add_control(
[953] Fix | Delete
'yt_lc_show',
[954] Fix | Delete
[
[955] Fix | Delete
'label' => sprintf(__('Show YouTube Live Chat %s', 'embedpress'), $this->pro_text),
[956] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[957] Fix | Delete
'label_block' => false,
[958] Fix | Delete
'return_value' => 'yes',
[959] Fix | Delete
'default' => '',
[960] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[961] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[962] Fix | Delete
'condition' => $yt_condition,
[963] Fix | Delete
'classes' => $this->pro_class,
[964] Fix | Delete
]
[965] Fix | Delete
);
[966] Fix | Delete
[967] Fix | Delete
[968] Fix | Delete
$this->end_controls_section();
[969] Fix | Delete
}
[970] Fix | Delete
[971] Fix | Delete
//End Youtube Controls
[972] Fix | Delete
[973] Fix | Delete
/**
[974] Fix | Delete
* Dailymotion Controls
[975] Fix | Delete
*/
[976] Fix | Delete
public function init_dailymotion_control()
[977] Fix | Delete
{
[978] Fix | Delete
//@TODO; Kamal - migrate from 'embedpress_pro_dailymotion_logo' to 'embedpress_pro_dailymotion_ui_logo'
[979] Fix | Delete
$this->add_control(
[980] Fix | Delete
'embedpress_pro_dailymotion_ui_logo',
[981] Fix | Delete
[
[982] Fix | Delete
'label' => sprintf(__('Logo %s', 'embedpress'), $this->pro_text),
[983] Fix | Delete
'type' => Controls_Manager::SWITCHER,
[984] Fix | Delete
'label_block' => false,
[985] Fix | Delete
'return_value' => 'yes',
[986] Fix | Delete
'default' => 'yes',
[987] Fix | Delete
'label_off' => __('Hide', 'embedpress'),
[988] Fix | Delete
'label_on' => __('Show', 'embedpress'),
[989] Fix | Delete
'condition' => [
[990] Fix | Delete
'embedpress_pro_embeded_source' => 'dailymotion'
[991] Fix | Delete
],
[992] Fix | Delete
'classes' => $this->pro_class,
[993] Fix | Delete
]
[994] Fix | Delete
);
[995] Fix | Delete
$this->add_control(
[996] Fix | Delete
'embedpress_pro_dailymotion_autoplay',
[997] Fix | Delete
[
[998] Fix | Delete
'label' => __('Auto Play', 'embedpress'),
[999] Fix | Delete
It is recommended that you Edit text format, this type of Fix handles quite a lot in one request
Function