• Resolved _Miika

    (@_miika)


    Hello,

    How are you?

    I’m trying to use your plugin, but don’t show the thumb or play button.

    I’m combine with other plugin, Ultimate Fields, and in the custom field I put the url of video.

    On my console show this:

    <div class="lyte-wrapper" style="width:640px;max-width: 100%;margin:5px auto;">
    	<div class="lyMe" id="WYL_Ojo_ArpJrjY" itemprop="video" itemscope="" itemtype="https://schema.org/VideoObject">
    		<meta itemprop="thumbnailUrl" content="https://i.ytimg.com/vi/Ojo_ArpJrjY/hqdefault.jpg">
    		<meta itemprop="embedURL" content="https://www.youtube.com/embed/Ojo_ArpJrjY">
    		<meta itemprop="uploadDate" content="2014-08-22T14:23:53.000Z">
    		<div id="lyte_Ojo_ArpJrjY" data-src="https://i.ytimg.com/vi/Ojo_ArpJrjY/hqdefault.jpg" class="pL">
    			<div class="tC">
    				<div class="tT" itemprop="name">A On?a Felinda e Suas Manchinhas (Música Infantil)</div>
    			</div>
    			<div class="play"></div>
    			<div class="ctrl">
    				<div class="Lctrl"></div>
    				<div class="Rctrl"></div>
    			</div>
    		</div>
    		<noscript><a href="https://youtu.be/Ojo_ArpJrjY"><img src="https://i.ytimg.com/vi/Ojo_ArpJrjY/0.jpg" alt="" width="640" height="340" /><br />Watch this video on YouTube</a></noscript>
    		<meta itemprop="description" content="see this video">
    	</div>
    </div>
    <div class="lL" style="width:640px;margin:5px auto;"></div>

    Can you help me, please?
    =)

    https://www.ads-software.com/plugins/wp-youtube-lyte/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Frank Goossens

    (@futtta)

    So the HTML-part is there, but I guess the JS (& CSS) aren’t?

    Do you have a wp_footer-action in your theme, because WP YT Lyte tries to attach the lyte_init to that one;

    add_action('wp_footer', 'lyte_init');

    Otherwise you could hook lyte_init to another action if videos are to be displayes?

    hope this helps,
    frank

    Thread Starter _Miika

    (@_miika)

    Ohhh, Thank you!
    hhahaha
    I’m using get_footer. Now it’s works fine!
    Thank you again!

    =*

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Don't show thumb and play button, just title’ is closed to new replies.