Viewing 15 posts - 1 through 15 (of 21 total)
  • Author
    Posts
  • melvine Friend
    #704236

    Hello dear team,

    I would like to use the videos of CNBC or Bloomberg.

    For example here :

    http://video.cnbc.com/gallery/?video=3000430858

    Can you add a script for add this kind of Embed video, for the next update

    <iframe src="http://player.cnbc.com/p/gZWlPC/cnbc_global?playertype=synd&byGuid=3000430858&size=530_298" width="530" height="298" type="application/x-shockwave-flash" allowFullScreen="true" bgcolor="#131313"></iframe>

    Or can you tell me if another of your templates has this option, I will try to follow the example.

    I don?t want to install another component for that, we have a chance with this template to display video, I want integrate the script in it.

    Thank you for your help.

    Best Regards
    Melvine

    Adam M Moderator
    #704587

    Hi @melvine,

    For the video in CNBC, you can try follow these steps :

    1. Open file templatesja_teline_vcontenttypetypesvideo.xml then look for this line :

    <option value="vimeo">PLG_JACONTENT_TYPE_VIMEO</option>

    update as below :

    <option value="vimeo">PLG_JACONTENT_TYPE_VIMEO</option>
    <option value="cnbc">PLG_JACONTENT_TYPE_CNBC</option>

    scroll down to the bottom, look for this line :

    <option for="ctm_source" value="vimeo" hideRow="true">ctm_embed_url</option>

    update as below :

    <option for="ctm_source" value="vimeo" hideRow="true">ctm_embed_url</option>
    <option for="ctm_source" value="cnbc" hideRow="true">ctm_embed_url</option>

    2. Open file templatesja_teline_vhtmllayoutsjoomlacontentvideo_play.php and look for this block :

    } elseif($ctm_source == 'local') {

    then update as below :

    } elseif($ctm_source == 'cnbc') {
    $url = $params->get('ctm_embed_url', '');
    if ($url) {
    $vid = $url;
    $url = '//player.cnbc.com/p/gZWlPC/cnbc_global?playertype=synd&byGuid='.$vid.'&size='.$width.'_'.$height;
    echo '<iframe class="ja-video" width="'.$width.'" height="'.$height.'" src="'.$url.'" type="application/x-shockwave-flash" allowFullScreen="true"></iframe>';
    }
    } elseif($ctm_source == 'local') {

    Adam M Moderator
    #751359

    Hi @melvine,

    For the video in CNBC, you can try follow these steps :

    1. Open file templatesja_teline_vcontenttypetypesvideo.xml then look for this line :

    <option value="vimeo">PLG_JACONTENT_TYPE_VIMEO</option>

    update as below :

    <option value="vimeo">PLG_JACONTENT_TYPE_VIMEO</option>
    <option value="cnbc">PLG_JACONTENT_TYPE_CNBC</option>

    scroll down to the bottom, look for this line :

    <option for="ctm_source" value="vimeo" hideRow="true">ctm_embed_url</option>

    update as below :

    <option for="ctm_source" value="vimeo" hideRow="true">ctm_embed_url</option>
    <option for="ctm_source" value="cnbc" hideRow="true">ctm_embed_url</option>

    2. Open file templatesja_teline_vhtmllayoutsjoomlacontentvideo_play.php and look for this block :

    } elseif($ctm_source == 'local') {

    then update as below :

    } elseif($ctm_source == 'cnbc') {
    $url = $params->get('ctm_embed_url', '');
    if ($url) {
    $vid = $url;
    $url = '//player.cnbc.com/p/gZWlPC/cnbc_global?playertype=synd&byGuid='.$vid.'&size='.$width.'_'.$height;
    echo '<iframe class="ja-video" width="'.$width.'" height="'.$height.'" src="'.$url.'" type="application/x-shockwave-flash" allowFullScreen="true"></iframe>';
    }
    } elseif($ctm_source == 'local') {

    melvine Friend
    #704708

    Hello Adam,

    You are my Hero Adam, you are really awesome:D

    Really thank you so much, it was very important for me, and you have done a perfect work

    The style is perfect on homepage

    But when you click on the sidebar for playing the video, on Video page I have a little problem. The body is white.

    I tried to find a solution but I can’t make the change on a custom file. When I change the background-color of the body with firefox, it’s okay, but I can’t replicate in my custom file.

    Thank you very much for your help
    Best Regards
    Melvine

    melvine Friend
    #751430

    Hello Adam,

    You are my Hero Adam, you are really awesome:D

    Really thank you so much, it was very important for me, and you have done a perfect work

    The style is perfect on homepage

    But when you click on the sidebar for playing the video, on Video page I have a little problem. The body is white.

    I tried to find a solution but I can’t make the change on a custom file. When I change the background-color of the body with firefox, it’s okay, but I can’t replicate in my custom file.

    Thank you very much for your help
    Best Regards
    Melvine

    melvine Friend
    #752697

    Hello @adam-m

    I have a little problem with the CNBC videos on google chrome, when the video is on the homepage( last video added)
    The problem come on the search module on the top of the homepage.

    The module search act weird. The top bar goes inside the searchform by the right ( I have put the top bar in black for you can see the problem)

    Any idea to fix that ?

    Thank You very much
    Best Regards
    Melvine

    Adam M Moderator
    #752765

    Hi @melvine,

    In this case, I will have to take a closer look at your site in order to investigate the problem. Is it possible that you upload your site somewhere so I can check ?

    melvine Friend
    #720205

    Hello @adam M

    Thank you very much.

    You can look here http://mlv.wis.ro/ ( the problem is only with Chrome)

    Best Regards
    Melvine

    melvine Friend
    #753217

    Hello @adam M

    Thank you very much.

    You can look here http://mlv.wis.ro/ ( the problem is only with Chrome)

    Best Regards
    Melvine

    Adam M Moderator
    #720370

    Hi @melvine,

    I checked your site but didn’t see any problem in home page and video detail page (see attachment screenshots), could you please confirm your status ?

    Adam M Moderator
    #753328

    Hi @melvine,

    I checked your site but didn’t see any problem in home page and video detail page (see attachment screenshots), could you please confirm your status ?

    melvine Friend
    #720538

    Hello @adam M

    In Home page Adam, the problem is only on the homepage

    http://mlv.wis.ro/ and look the search module on the top

    Best Regards

    melvine Friend
    #753376

    Hello @adam M

    In Home page Adam, the problem is only on the homepage

    http://mlv.wis.ro/ and look the search module on the top

    Best Regards

    Adam M Moderator
    #720971

    Hi @melvine,

    Yes, the same result in home page, no problem so far. Could you please check your site in another device instead ?

    Adam M Moderator
    #753477

    Hi @melvine,

    Yes, the same result in home page, no problem so far. Could you please check your site in another device instead ?

Viewing 15 posts - 1 through 15 (of 21 total)

This topic contains 21 replies, has 2 voices, and was last updated by  melvine 9 years ago.

We moved to new unified forum. Please post all new support queries in our New Forum