WordPress.org

Forums

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

  1. dougrdotnet
    Member
    Posted 1 year 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 year 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 :-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Vimeography
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic