[ad_1]
I am new to creating custom widgets, I want to create widget that beside other functionalities has an option to upload a video from Elementor editor and display that to a page.
I have created a control:
`$this->add_control(‘video’, [`
`’label’ => esc_html__(‘Video’,’elementor-addon’),`
`’type’ => \Elementor\Controls_Manager::MEDIA,`
`’default’ => [`
`’url’ => \Elementor\Utils::get_placeholder_image_src(),`
`]`
`]);`
But I don’t know how to display this video on a page using HTML. Thanks in advance!
[ad_2]
Have you read the documentation?