-
AuthorPosts
-
melvine Friend
melvine
- Join date:
- August 2012
- Posts:
- 160
- Downloads:
- 162
- Uploads:
- 2
- Thanks:
- 37
- Thanked:
- 33 times in 9 posts
October 10, 2015 at 9:22 pm #704236Hello 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
MelvineAdam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
October 12, 2015 at 9:18 am #704587Hi @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') {1 user says Thank You to Adam M for this useful post
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
October 12, 2015 at 9:18 am #751359Hi @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') {1 user says Thank You to Adam M for this useful post
melvine Friendmelvine
- Join date:
- August 2012
- Posts:
- 160
- Downloads:
- 162
- Uploads:
- 2
- Thanks:
- 37
- Thanked:
- 33 times in 9 posts
October 12, 2015 at 5:49 pm #704708Hello 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
Melvinemelvine Friendmelvine
- Join date:
- August 2012
- Posts:
- 160
- Downloads:
- 162
- Uploads:
- 2
- Thanks:
- 37
- Thanked:
- 33 times in 9 posts
October 12, 2015 at 5:49 pm #751430Hello 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
Melvinemelvine Friendmelvine
- Join date:
- August 2012
- Posts:
- 160
- Downloads:
- 162
- Uploads:
- 2
- Thanks:
- 37
- Thanked:
- 33 times in 9 posts
October 25, 2015 at 10:26 am #752697Hello @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
MelvineAdam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
melvine Friendmelvine
- Join date:
- August 2012
- Posts:
- 160
- Downloads:
- 162
- Uploads:
- 2
- Thanks:
- 37
- Thanked:
- 33 times in 9 posts
October 29, 2015 at 2:38 pm #720205Hello @adam M
Thank you very much.
You can look here http://mlv.wis.ro/ ( the problem is only with Chrome)
Best Regards
Melvinemelvine Friendmelvine
- Join date:
- August 2012
- Posts:
- 160
- Downloads:
- 162
- Uploads:
- 2
- Thanks:
- 37
- Thanked:
- 33 times in 9 posts
October 29, 2015 at 2:38 pm #753217Hello @adam M
Thank you very much.
You can look here http://mlv.wis.ro/ ( the problem is only with Chrome)
Best Regards
MelvineAdam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
Adam M ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
melvine Friendmelvine
- Join date:
- August 2012
- Posts:
- 160
- Downloads:
- 162
- Uploads:
- 2
- Thanks:
- 37
- Thanked:
- 33 times in 9 posts
October 30, 2015 at 5:13 pm #720538Hello @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 Friendmelvine
- Join date:
- August 2012
- Posts:
- 160
- Downloads:
- 162
- Uploads:
- 2
- Thanks:
- 37
- Thanked:
- 33 times in 9 posts
October 30, 2015 at 5:13 pm #753376Hello @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 ModeratorAdam M
- Join date:
- May 2014
- Posts:
- 5159
- Downloads:
- 33
- Uploads:
- 66
- Thanks:
- 95
- Thanked:
- 1271 times in 1235 posts
-
AuthorPosts
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