WordPress.org

Ready to get started?Download WordPress

Forums

Vimeography
Title {{name}} Removed on Thumbnail Click (2 posts)

  1. dougrdotnet
    Member
    Posted 1 month ago #

    I am adding a name attribute in bugsause.mustache as such:

    <div class="vimeography-main">
        {{#featured}}
    	    <div class="vimeography-player">
    	      <h2>{{name}}</h2>
    	      {{{oembed}}}
    	      <br />
    	      <b>{{description}}</b>
    	    </div>
        {{/featured}}
    	</div>

    When I click on a thumbnail I lose the name attribute. I believe this issue occurs in the following of same file:

    $('.vimeography-bugsauce-active-slide').removeClass('vimeography-bugsauce-active-slide');
    $(this).parent().addClass('vimeography-bugsauce-active-slide');

    It seems that vimeography-main is not getting entirely reloaded.
    Any idea?

    https://wordpress.org/plugins/vimeography/

  2. dougrdotnet
    Member
    Posted 1 month ago #

    Upon further testing it appears that the html is getting replaced in the following line of same file:
    $gallery.find('.vimeography-player').html(video.html).fitVids().animate({'opacity':1}, 300);

    I'm not sure how to add {{name}}, the variable isn't available at that point and it can't be prepended to the iframe.

    Again, any ideas here?

    Thanks :-)

Reply

You must log in to post.

About this Plugin

About this Topic