WordPress.org

Ready to get started?Download WordPress

Forums

Vimeography
[resolved] Autoplay ? (6 posts)

  1. victorbart
    Member
    Posted 1 year ago #

    Hi,

    Does it possible to enable autoplay on videos ? I tried to change code in bugsauce.js (-> autoplay=0 to autoplay=1 on line 22) but it doesnt work :(

    Thanks !

    http://wordpress.org/extend/plugins/vimeography/

  2. Dave Kiss
    Member
    Plugin Author

    Posted 1 year ago #

    Hi,

    This should be possible with a custom theme modification. In your wp-content/uploads/vimeography-themes folder, edit bugsauce.mustache and change the autoplay parameters to 1 on both line 5 and line 40 (you need to add it on line 5)

    Please note, any updates to the plugin will overwrite this file, so make a backup of it before you update.

    Dave

  3. mccooluk
    Member
    Posted 1 year ago #

    Sorry to re-open a resolved thread, but I am having a problem getting autoplay sorted on the 6UP theme.

    I added the autoplay function to the code in the videos.mustache file and it worked, but all 6 videos play at once!

    If you have any ideas how to just get the first video playing I would be very grateful

    Thanks

    Chris

  4. Dave Kiss
    Member
    Plugin Author

    Posted 1 year ago #

    Change this line:

    <iframe id="vimeography-embed-{{gallery_id}}-{{id}}" src="http://player.vimeo.com/video/{{id}}?title=0&byline=0&portrait=0&api=1&player_id=vimeography-embed-{{gallery_id}}-{{id}}" width="820" height="461" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>

    To this:

    <iframe id="vimeography-embed-{{gallery_id}}-{{id}}" src="http://player.vimeo.com/video/{{id}}?title=0&byline=0&portrait=0&api=1&player_id=vimeography-embed-{{gallery_id}}-{{id}}{{#featured}}&autoplay=1{{/featured}}" width="820" height="461" frameborder="0" webkitAllowFullScreen mozallowfullscreen allowFullScreen></iframe>

    That should set you up right.

    [Moderator Note: Please post code or markup snippets between backticks or use the code button. As it stands, your code may now have been permanently damaged/corrupted by the forum's parser.]

  5. mccooluk
    Member
    Posted 1 year ago #

    Thanks for the reply Dave, unfortunately I'm still having issues.

    All 6 videos load at the same time, which causes it to be very slow and the 2nd video also autoplays.

    You can see it in action at davidlodge.tv

    Thanks

    Chris

  6. brantw
    Member
    Posted 1 year ago #

    Hi Chris,

    I noticed you got this to work on your site. How did you do it?

    Thanks,

    -Brant

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.