Skip to content

Instantly share code, notes, and snippets.

@dashaluna
dashaluna / .html
Created Feb 2, 2017
Ooyala iframe markup with ads for FB IA
View .html
FB IA markup:
<p>Official ooyala plugin shortcode:</p>
<figure class="op-interactive">
<iframe
src="https://thesuncouk-develop.go-vip.co/ooyala-iframe/33447?code=t4OWo4NTE6Ye7cqQPGJ7ZPXNTA0ULOrj&amp;player_id=YmRmN2I0ZDMwNDI5NTFlZGI4NDM1OWM4&amp;width=1920&amp;height=1080&amp;caption=test_ooyala_upload_02.mp4&amp;auto=true"
class="no-margin" width="480" height="320"></iframe>
</figure>
<p>Our custom generated iframe &amp; player:</p>
View Control integrations with filter
function __construct( ) {
add_action( 'init', array( $this, 'register_shortcode_ui' ) );
}
function register_shortcode_ui() {
apply_filters( 'hm_toc_register_shortcode_ui', false );
// Do I need to include the actual code/file here that registers things
You can’t perform that action at this time.