Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • tanyat Friend
    #1004171

    Hello
    I use video at main page. But there is no image in youtube for this video so it use default <img alt="" src="http://img.youtube.com/vi/coi2hlsedK0/maxresdefault.jpg">
    How can I change youtube image for video to my own?

    pavit Moderator
    #1004173

    Hello

    Edit this file /templates/ja_healthcare/acm/video/tmpl/style-1.php
    and find following line

    <img alt="" src="http://img.youtube.com/vi/<?php echo $video_link; ?>/maxresdefault.jpg" />

    Change it to :

    <img alt="" src="http://img.youtube.com/vi/<?php echo $video_link; ?>/0.jpg" />

    this is the thumbnail

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 1 reply, has 2 voices, and was last updated by  pavit 7 years, 10 months ago.

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