I’m adding a video player which inserts javascript and CSS files onto the page. These files only need to be included once no matter how many “video” HTML objects (or shortcodes) are implemented on the page. Is there anyway to have it so that if the extra code is already on the page, it doesn’t get added multiple times?
In the shortcode editing page, you can insert the extra code which must be inserted only once at the bottom of the page when the shortcode is used multiple times.