View Single Post
Old 06-04-2018, 05:52 AM  
MrT31
Confirmed User
 
MrT31's Avatar
 
Industry Role:
Join Date: Aug 2012
Posts: 36
Hello

Two questions please .

I use the the preset Smart Script tube with kvs pro . Work like a charm but I want to try
with short chode of fluid player , the basic and extended .

1/ can I do

Code:
$post['post_content'] =[fluid-player video=”customfieldurlvideo or xml value <video>″ vast_file=”wanttoberichxml” vtt_file=”urlthumbsvtt” vtt_sprite=”urlthumbs.jpg” layout=”default”
or

Code:
$post['post_content'] = [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": "customfieldurlvideo or xml value <video>"},
            {"label": "480", "url": "customfieldurlvideo or xml value <video>"}
        ]
    [/fluid-player-multi-res-video]

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

[/fluid-player-extended]
Can I put in in custom field instead of $post['post_content']


2/

Is it possible to grab some info in a XML e.g "paysitetitle" to put it in wordpress custom taxonomy "studio" by e.g
or in custom taxonomy of a custom post type please ?

thanks a lot

Last edited by MrT31; 06-04-2018 at 05:53 AM.. Reason: code
MrT31 is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote