View Single Post
Old 06-08-2018, 05:56 AM  
MrT31
Confirmed User
 
MrT31's Avatar
 
Industry Role:
Join Date: Aug 2012
Posts: 54
ok , I just replace

Code:
$post['post_content'] = '[flv:' . $post['guid'] . ' ' . cseo_save_image($post['custom_fields']['thumb'], $post['post_title']) . ']';
by

Code:
$post['post_content'] or $post['custom_fields']['mycustomfield']= [fluid-player-extended
    vast_file="wanttoberichxml"
    layout="default"
    auto-play="autoPlay"
    logo="/mygreatlogopng"
    logo-position="top right"
    logo-opacity=".8"
    ad-text="adText"
    ad-cta-text="adCTAText"
    html-on-pause-block-width="300"
    html-on-pause-block-height="300"
    responsive="true"]

    [fluid-player-multi-res-video]
        [
            {"label": "720", "url": ' . $post['guid'] . '},
            {"label": "480", "url": ' . $post['guid'] . '}
        ]
    [/fluid-player-multi-res-video]

    [fluid-player-html-block]
        <div>
            <img src="/pubbannerpng" />
        </div>
    [/fluid-player-html-block]

[/fluid-player-extended]
And apparently it works
MrT31 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote